diff --git a/Gruntfile.js b/Gruntfile.js index 0ac5d01..df41765 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -43,7 +43,7 @@ module.exports = function ( grunt ) { getEditLink: function ( file ) { var source = grunt.editLinkReverseMapping[ file ]; - return 'https://github.com/ractivejs/docs.ractivejs.org/edit/master/docs/' + source; + return 'https://github.com/ractivejs/v0.x/edit/master/docs/' + source; } }; diff --git a/README.md b/README.md index 70bf127..8688a90 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -docs.ractivejs.org +v0.x ================== -The documentation for [Ractive.js](http://ractivejs.org). +The documentation for [Ractive.js](http://ractive.js.org). Building @@ -9,8 +9,8 @@ Building ``` # clone the repo -$ git clone https://github.com/RactiveJS/docs.ractivejs.org.git -$ cd docs.ractivejs.org +$ git clone https://github.com/RactiveJS/v0.x.git +$ cd v0.x # install dev dependencies (grunt and friends) $ npm install @@ -29,7 +29,7 @@ Open `localhost` on the port specified (usually `8080`), and it should redirect Contributing ------------ -If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/RactiveJS/docs.ractivejs.org/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! +If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/RactiveJS/v0.x/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! In lieu of formal contribution guidelines, take care to follow the existing structure and conventions. Send pull requests to the `master` branch, not `gh-pages` (which is a snapshot of the `build` folder in `master`). diff --git a/docs/0.3.9/60-second setup.md.hbs b/docs/0.3.9/60-second setup.md.hbs index d99399f..4b88cd9 100644 --- a/docs/0.3.9/60-second setup.md.hbs +++ b/docs/0.3.9/60-second setup.md.hbs @@ -88,4 +88,4 @@ That's it - you're in business. * You could pass in a template string as the `template` option, rather than the ID of a script tag containing the template. In that case, if your template is more than a couple of lines you'll probably want to keep it in a separate file and load it (e.g. with `$.ajax`, if you're using jQuery) * As your app grows in complexity, you'll want to keep your application code (i.e. the bit that calls `new Ractive()`) in a separate file. You can also [use Ractive with RequireJS](using-ractive-with-requirejs). -* Work your way through the [tutorials](http://learn.ractivejs.org) to learn how to use Ractive. You can also consult the {{{createLink 'API reference'}}}. +* Work your way through the [tutorials](http://learn.ractive.js.org) to learn how to use Ractive. You can also consult the {{{createLink 'API reference'}}}. diff --git a/docs/0.3.9/Adaptors.md.hbs b/docs/0.3.9/Adaptors.md.hbs index ac8b0f0..c5f2675 100644 --- a/docs/0.3.9/Adaptors.md.hbs +++ b/docs/0.3.9/Adaptors.md.hbs @@ -4,7 +4,7 @@ title: Adaptors Adaptors are a way of teaching Ractive to communicate seamlessly with other libraries such as Backbone. This means that you can, for example, have some or all of your app's data handled by Backbone - including fetching from and saving to your server, validation, sorting, filtering and so on - but still build a reactive user interface using Ractive, without having to create custom View classes or adding a whole load of event binding code. -It's probably easier to show, rather than tell: [this example application](http://ractivejs.org/examples/backbone) uses Backbone models describing all the James Bond films. The [code for the Backbone adaptor is here](https://github.com/RactiveJS/plugins.adaptors.Backbone). +It's probably easier to show, rather than tell: [this example application](http://ractive.js.org/examples/backbone) uses Backbone models describing all the James Bond films. The [code for the Backbone adaptor is here](https://github.com/RactiveJS/plugins.adaptors.Backbone). Using adaptors diff --git a/docs/0.3.9/Contributing.md.hbs b/docs/0.3.9/Contributing.md.hbs index ebccbaf..772df85 100644 --- a/docs/0.3.9/Contributing.md.hbs +++ b/docs/0.3.9/Contributing.md.hbs @@ -10,7 +10,7 @@ Pull requests are always welcome on [GitHub](https://github.com/ractivejs/ractiv ## Other ways to contribute * Spread the word! The larger the community using Ractive, the better it becomes. Write blog posts, mention it to your developer colleagues and friends, submit talks (here are some [tips on speaking at tech meetups](http://speaking.io/)). -* Fix documentation. Each page on this site has an 'edit' button in the top right, which will take you to GitHub where you can submit fixes. If you spot an error or think something's missing and aren't sure how to fix it, [raise an issue](https://github.com/ractivejs/docs.ractivejs.org/issues). +* Fix documentation. Each page on this site has an 'edit' button in the top right, which will take you to GitHub where you can submit fixes. If you spot an error or think something's missing and aren't sure how to fix it, [raise an issue](https://github.com/ractivejs/v0.x/issues). * Help other developers on StackOverflow. Subscribe to [questions tagged 'ractivejs'](http://stackoverflow.com/questions/tagged/ractivejs), and you'll get alerts when someone asks a question that you might be able to answer. * Write plugins. See the {{{createLink 'Create plugins'}}} page for more information. diff --git a/docs/0.3.9/Decorators.md.hbs b/docs/0.3.9/Decorators.md.hbs index 77dd25f..094ab5c 100644 --- a/docs/0.3.9/Decorators.md.hbs +++ b/docs/0.3.9/Decorators.md.hbs @@ -68,7 +68,7 @@ var tooltipDecorator = function ( node, content ) { // Create some event handlers. NB we can use addEventListener // with impunity, even in old IE, by using a legacy build: - // https://docs.ractivejs.org/latest/Legacy-builds + // https://ractive.js.org/support handlers = { mouseover: function () { // Create a tooltip... diff --git a/docs/0.3.9/Find plugins.md.hbs b/docs/0.3.9/Find plugins.md.hbs index e3ed372..f749838 100644 --- a/docs/0.3.9/Find plugins.md.hbs +++ b/docs/0.3.9/Find plugins.md.hbs @@ -7,7 +7,7 @@ Plugins allow you to augment Ractive with extra functionality. You can create yo ## {{{createLink 'Adaptors'}}} -* [Backbone](http://ractivejs.org/examples/backbone) +* [Backbone](http://ractive.js.org/examples/backbone) * [Promises](http://lluchs.github.io/Ractive-adaptors-Promise/) - contributed by [@lluchs](https://github.com/lluchs) * TODO Ractive (synchronise several Ractive instances) * TODO Object.observe diff --git a/docs/0.3.9/Get started.md.hbs b/docs/0.3.9/Get started.md.hbs index d31da49..3d87c07 100644 --- a/docs/0.3.9/Get started.md.hbs +++ b/docs/0.3.9/Get started.md.hbs @@ -4,8 +4,8 @@ title: Get started Welcome! These pages aim to provide all the information you need to master Ractive. -If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/ractivejs/docs.ractivejs.org/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! +If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/ractivejs/v0.x/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! -A good way to get up and running is with the [60 second setup](http://ractivejs.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractivejs.org) will familiarise you with the various ways you can use Ractive. +A good way to get up and running is with the [60 second setup](http://ractive.js.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractive.js.org) will familiarise you with the various ways you can use Ractive. If you get stuck at any point, visit the {{{createLink 'Get support'}}} page to find help. diff --git a/docs/0.3.9/Initialisation options.md.hbs b/docs/0.3.9/Initialisation options.md.hbs index 3d3635e..cafb364 100644 --- a/docs/0.3.9/Initialisation options.md.hbs +++ b/docs/0.3.9/Initialisation options.md.hbs @@ -17,7 +17,7 @@ ractive = new Ractive({ > ### **template** *`String` or (if {{{createLink 'preparsing'}}}) `Array` or `Object`* > The template to use. If this is a string, it must be valid (if meaningless, until rendered) HTML, otherwise this must be the output of {{{createLink 'Ractive.parse()'}}}. > -> Alternatively, you can pass a string like `#myTemplate` - in this case, Ractive will use the contents of an element whose ID is `myTemplate`. See the [60 second setup](http://ractivejs.org/60-second-setup) for an example of this. +> Alternatively, you can pass a string like `#myTemplate` - in this case, Ractive will use the contents of an element whose ID is `myTemplate`. See the [60 second setup](http://ractive.js.org/60-second-setup) for an example of this. ## Optional diff --git a/docs/0.3.9/Mustaches.md.hbs b/docs/0.3.9/Mustaches.md.hbs index c2ccfa6..4f5ca1b 100644 --- a/docs/0.3.9/Mustaches.md.hbs +++ b/docs/0.3.9/Mustaches.md.hbs @@ -16,7 +16,7 @@ We say that the `\{{name}}` mustache has a *[reference](references)* of `name`. As soon as the mustache knows what its keypath is (which may not be at render time, if data has not yet been set), it registers itself as a *{{{createLink 'dependants' 'depedant'}}}* of the keypath. Then, whenever data changes, Ractive scans the dependency graph to see which mustaches need to update, and notifies them accordingly. -As well as simple *interpolators* like `\{{name}}`, the other mustaches types - sections, partials, and even delimiter changes - are supported. Consult the [tutorials](http://learn.ractivejs.org) to learn about these. +As well as simple *interpolators* like `\{{name}}`, the other mustaches types - sections, partials, and even delimiter changes - are supported. Consult the [tutorials](http://learn.ractive.js.org) to learn about these. ## Extensions diff --git a/docs/0.3.9/Plugins.md.hbs b/docs/0.3.9/Plugins.md.hbs index e502ecd..46b4eec 100644 --- a/docs/0.3.9/Plugins.md.hbs +++ b/docs/0.3.9/Plugins.md.hbs @@ -7,7 +7,7 @@ Plugins allow you to augment Ractive with extra functionality. You can create yo ## {{{createLink 'Adaptors'}}} -* [Backbone](http://ractivejs.org/examples/backbone) +* [Backbone](http://ractive.js.org/examples/backbone) * [Promises](http://lluchs.github.io/Ractive-adaptors-Promise/) - contributed by [@lluchs](https://github.com/lluchs) * TODO Ractive (synchronise several Ractive instances) * TODO Object.observe diff --git a/docs/0.3.9/Using Ractive with Backbone.md.hbs b/docs/0.3.9/Using Ractive with Backbone.md.hbs index 77a2af7..c1ff030 100644 --- a/docs/0.3.9/Using Ractive with Backbone.md.hbs +++ b/docs/0.3.9/Using Ractive with Backbone.md.hbs @@ -3,4 +3,4 @@ title: Using Ractive with Backbone --- If your app uses Backbone to manage your models and collections, you can use them seamlessly with Ractive by using an {{{createLink 'Ractive.adaptors' 'adaptor'}}}. -[Download the Backbone adaptor here](https://github.com/RactiveJS/Ractive/blob/master/plugins/adaptors/Backbone.js), or see an [example](http://ractivejs.org/examples/backbone/). \ No newline at end of file +[Download the Backbone adaptor here](https://github.com/RactiveJS/Ractive/blob/master/plugins/adaptors/Backbone.js), or see an [example](http://ractive.js.org/examples/backbone/). \ No newline at end of file diff --git a/docs/0.4.0/Adaptors.md.hbs b/docs/0.4.0/Adaptors.md.hbs index 9588982..0a043fe 100644 --- a/docs/0.4.0/Adaptors.md.hbs +++ b/docs/0.4.0/Adaptors.md.hbs @@ -4,7 +4,7 @@ title: Adaptors Adaptors are a way of teaching Ractive to communicate seamlessly with other libraries such as Backbone. This means that you can, for example, have some or all of your app's data handled by Backbone - including fetching from and saving to your server, validation, sorting, filtering and so on - but still build a reactive user interface using Ractive, without having to create custom View classes or adding a whole load of event binding code. -It's probably easier to show, rather than tell: [this example application](http://examples.ractivejs.org/backbone) uses Backbone models describing all the James Bond films. The [code for the Backbone adaptor is here](https://github.com/ractivejs/ractive-adaptors-backbone). +It's probably easier to show, rather than tell: [this example application](http://examples.ractive.js.org/backbone) uses Backbone models describing all the James Bond films. The [code for the Backbone adaptor is here](https://github.com/ractivejs/ractive-adaptors-backbone). Using adaptors diff --git a/docs/0.4.0/Contributing.md.hbs b/docs/0.4.0/Contributing.md.hbs index ebccbaf..772df85 100644 --- a/docs/0.4.0/Contributing.md.hbs +++ b/docs/0.4.0/Contributing.md.hbs @@ -10,7 +10,7 @@ Pull requests are always welcome on [GitHub](https://github.com/ractivejs/ractiv ## Other ways to contribute * Spread the word! The larger the community using Ractive, the better it becomes. Write blog posts, mention it to your developer colleagues and friends, submit talks (here are some [tips on speaking at tech meetups](http://speaking.io/)). -* Fix documentation. Each page on this site has an 'edit' button in the top right, which will take you to GitHub where you can submit fixes. If you spot an error or think something's missing and aren't sure how to fix it, [raise an issue](https://github.com/ractivejs/docs.ractivejs.org/issues). +* Fix documentation. Each page on this site has an 'edit' button in the top right, which will take you to GitHub where you can submit fixes. If you spot an error or think something's missing and aren't sure how to fix it, [raise an issue](https://github.com/ractivejs/v0.x/issues). * Help other developers on StackOverflow. Subscribe to [questions tagged 'ractivejs'](http://stackoverflow.com/questions/tagged/ractivejs), and you'll get alerts when someone asks a question that you might be able to answer. * Write plugins. See the {{{createLink 'Create plugins'}}} page for more information. diff --git a/docs/0.4.0/Get started.md.hbs b/docs/0.4.0/Get started.md.hbs index d31da49..3d87c07 100644 --- a/docs/0.4.0/Get started.md.hbs +++ b/docs/0.4.0/Get started.md.hbs @@ -4,8 +4,8 @@ title: Get started Welcome! These pages aim to provide all the information you need to master Ractive. -If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/ractivejs/docs.ractivejs.org/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! +If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/ractivejs/v0.x/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! -A good way to get up and running is with the [60 second setup](http://ractivejs.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractivejs.org) will familiarise you with the various ways you can use Ractive. +A good way to get up and running is with the [60 second setup](http://ractive.js.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractive.js.org) will familiarise you with the various ways you can use Ractive. If you get stuck at any point, visit the {{{createLink 'Get support'}}} page to find help. diff --git a/docs/0.4.0/Initialisation options.md.hbs b/docs/0.4.0/Initialisation options.md.hbs index dea853a..ee19a64 100644 --- a/docs/0.4.0/Initialisation options.md.hbs +++ b/docs/0.4.0/Initialisation options.md.hbs @@ -17,7 +17,7 @@ ractive = new Ractive({ > ### **template** *`String` or (if {{{createLink 'preparsing'}}}) `Array` or `Object`* > The template to use. If this is a string, it must be valid (if meaningless, until rendered) HTML, otherwise this must be the output of {{{createLink 'Ractive.parse()'}}}. > -> Alternatively, you can pass a string like `#myTemplate` - in this case, Ractive will use the contents of an element whose ID is `myTemplate`. See the [60 second setup](http://ractivejs.org/60-second-setup) for an example of this. +> Alternatively, you can pass a string like `#myTemplate` - in this case, Ractive will use the contents of an element whose ID is `myTemplate`. See the [60 second setup](http://ractive.js.org/60-second-setup) for an example of this. ## Optional diff --git a/docs/0.4.0/Mustaches.md.hbs b/docs/0.4.0/Mustaches.md.hbs index ebf7ec2..0f90cea 100644 --- a/docs/0.4.0/Mustaches.md.hbs +++ b/docs/0.4.0/Mustaches.md.hbs @@ -16,7 +16,7 @@ We say that the `\{{name}}` mustache has a *[reference](references)* of `name`. As soon as the mustache knows what its keypath is (which may not be at render time, if data has not yet been set), it registers itself as a *{{{createLink 'dependants' 'dependant'}}}* of the keypath. Then, whenever data changes, Ractive scans the dependency graph to see which mustaches need to update, and notifies them accordingly. -As well as simple *interpolators* like `\{{name}}`, the other mustaches types - sections, partials, and even delimiter changes - are supported. Consult the [tutorials](http://learn.ractivejs.org) to learn about these. +As well as simple *interpolators* like `\{{name}}`, the other mustaches types - sections, partials, and even delimiter changes - are supported. Consult the [tutorials](http://learn.ractive.js.org) to learn about these. ## Extensions diff --git a/docs/0.4.0/Using Ractive with Backbone.md.hbs b/docs/0.4.0/Using Ractive with Backbone.md.hbs index 77a2af7..c1ff030 100644 --- a/docs/0.4.0/Using Ractive with Backbone.md.hbs +++ b/docs/0.4.0/Using Ractive with Backbone.md.hbs @@ -3,4 +3,4 @@ title: Using Ractive with Backbone --- If your app uses Backbone to manage your models and collections, you can use them seamlessly with Ractive by using an {{{createLink 'Ractive.adaptors' 'adaptor'}}}. -[Download the Backbone adaptor here](https://github.com/RactiveJS/Ractive/blob/master/plugins/adaptors/Backbone.js), or see an [example](http://ractivejs.org/examples/backbone/). \ No newline at end of file +[Download the Backbone adaptor here](https://github.com/RactiveJS/Ractive/blob/master/plugins/adaptors/Backbone.js), or see an [example](http://ractive.js.org/examples/backbone/). \ No newline at end of file diff --git a/docs/0.4.0/Writing decorator plugins.md.hbs b/docs/0.4.0/Writing decorator plugins.md.hbs index 1fcb23e..fc726c6 100644 --- a/docs/0.4.0/Writing decorator plugins.md.hbs +++ b/docs/0.4.0/Writing decorator plugins.md.hbs @@ -64,7 +64,7 @@ var tooltipDecorator = function ( node, content ) { // Create some event handlers. NB we can use addEventListener // with impunity, even in old IE, by using a legacy build: - // https://docs.ractivejs.org/latest/Legacy-builds + // https://ractive.js.org/support handlers = { mouseover: function () { // Create a tooltip... diff --git a/docs/0.5/Adaptors.md.hbs b/docs/0.5/Adaptors.md.hbs index 9588982..0a043fe 100644 --- a/docs/0.5/Adaptors.md.hbs +++ b/docs/0.5/Adaptors.md.hbs @@ -4,7 +4,7 @@ title: Adaptors Adaptors are a way of teaching Ractive to communicate seamlessly with other libraries such as Backbone. This means that you can, for example, have some or all of your app's data handled by Backbone - including fetching from and saving to your server, validation, sorting, filtering and so on - but still build a reactive user interface using Ractive, without having to create custom View classes or adding a whole load of event binding code. -It's probably easier to show, rather than tell: [this example application](http://examples.ractivejs.org/backbone) uses Backbone models describing all the James Bond films. The [code for the Backbone adaptor is here](https://github.com/ractivejs/ractive-adaptors-backbone). +It's probably easier to show, rather than tell: [this example application](http://examples.ractive.js.org/backbone) uses Backbone models describing all the James Bond films. The [code for the Backbone adaptor is here](https://github.com/ractivejs/ractive-adaptors-backbone). Using adaptors diff --git a/docs/0.5/Contributing.md.hbs b/docs/0.5/Contributing.md.hbs index ebccbaf..772df85 100644 --- a/docs/0.5/Contributing.md.hbs +++ b/docs/0.5/Contributing.md.hbs @@ -10,7 +10,7 @@ Pull requests are always welcome on [GitHub](https://github.com/ractivejs/ractiv ## Other ways to contribute * Spread the word! The larger the community using Ractive, the better it becomes. Write blog posts, mention it to your developer colleagues and friends, submit talks (here are some [tips on speaking at tech meetups](http://speaking.io/)). -* Fix documentation. Each page on this site has an 'edit' button in the top right, which will take you to GitHub where you can submit fixes. If you spot an error or think something's missing and aren't sure how to fix it, [raise an issue](https://github.com/ractivejs/docs.ractivejs.org/issues). +* Fix documentation. Each page on this site has an 'edit' button in the top right, which will take you to GitHub where you can submit fixes. If you spot an error or think something's missing and aren't sure how to fix it, [raise an issue](https://github.com/ractivejs/v0.x/issues). * Help other developers on StackOverflow. Subscribe to [questions tagged 'ractivejs'](http://stackoverflow.com/questions/tagged/ractivejs), and you'll get alerts when someone asks a question that you might be able to answer. * Write plugins. See the {{{createLink 'Create plugins'}}} page for more information. diff --git a/docs/0.5/Get started.md.hbs b/docs/0.5/Get started.md.hbs index 4fec3c5..4c7f591 100644 --- a/docs/0.5/Get started.md.hbs +++ b/docs/0.5/Get started.md.hbs @@ -4,7 +4,7 @@ title: Get started Welcome! These pages aim to provide all the information you need to master Ractive. -If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/ractivejs/docs.ractivejs.org/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! +If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/ractivejs/v0.x/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! Using Ractive is very simple. An instance is created using `new Ractive({...})` with the desired options: @@ -21,7 +21,7 @@ While there are no _required_ options, the three show above: __el__ement, __temp are the most common. They specify __what data__ to bind to __what template__ and __where__ it should be placed in the __html document__. -A good way to get up and running is with the [60 second setup](http://ractivejs.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractivejs.org) will familiarise you with the various ways you can use Ractive. +A good way to get up and running is with the [60 second setup](http://ractive.js.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractive.js.org) will familiarise you with the various ways you can use Ractive. Checkout the {{{createLink 'Options' 'Configuration Options'}}} to learn more about all the available options. diff --git a/docs/0.5/Mustaches.md.hbs b/docs/0.5/Mustaches.md.hbs index 36dd390..1694ef2 100644 --- a/docs/0.5/Mustaches.md.hbs +++ b/docs/0.5/Mustaches.md.hbs @@ -20,7 +20,7 @@ As soon as the mustache knows what its keypath is (which may not be at render ti If you already know Mustache, Ractive supports all the Mustache features - basic Mustache variables like `\{{name}}`, as well as sections, partials, and even delimiter changes. If you're already familiar with Mustache, skip to the Extensions section below. -You can also check out the [tutorials](http://learn.ractivejs.org). +You can also check out the [tutorials](http://learn.ractive.js.org). ### Variables diff --git a/docs/0.5/Options.md.hbs b/docs/0.5/Options.md.hbs index 18f361e..6156f0b 100644 --- a/docs/0.5/Options.md.hbs +++ b/docs/0.5/Options.md.hbs @@ -59,7 +59,7 @@ The following is a complete list of initialisation options, with full descriptio > ```js > template: '#myTemplate' > ``` -> See the [60 second setup](http://ractivejs.org/60-second-setup) for an example of this. +> See the [60 second setup](http://ractive.js.org/60-second-setup) for an example of this. > Please note that while Ractive will fetch any element by ID and use its content as the template, browsers may escape the contents of tags like `
` when initially rendered, leading to unexpected results in your template. diff --git a/docs/0.5/Using Ractive with Backbone.md.hbs b/docs/0.5/Using Ractive with Backbone.md.hbs index c1ddec6..652af94 100644 --- a/docs/0.5/Using Ractive with Backbone.md.hbs +++ b/docs/0.5/Using Ractive with Backbone.md.hbs @@ -3,4 +3,4 @@ title: Using Ractive with Backbone --- If your app uses Backbone to manage your models and collections, you can use them seamlessly with Ractive by using an {{{createLink 'Ractive.adaptors' 'adaptor'}}}. -[Download the Backbone adaptor here](https://github.com/ractivejs/ractive-adaptors-backbone), or see an [example](http://examples.ractivejs.org/backbone). +[Download the Backbone adaptor here](https://github.com/ractivejs/ractive-adaptors-backbone), or see an [example](http://examples.ractive.js.org/backbone). diff --git a/docs/0.5/Writing decorator plugins.md.hbs b/docs/0.5/Writing decorator plugins.md.hbs index 1fcb23e..fc726c6 100644 --- a/docs/0.5/Writing decorator plugins.md.hbs +++ b/docs/0.5/Writing decorator plugins.md.hbs @@ -64,7 +64,7 @@ var tooltipDecorator = function ( node, content ) { // Create some event handlers. NB we can use addEventListener // with impunity, even in old IE, by using a legacy build: - // https://docs.ractivejs.org/latest/Legacy-builds + // https://ractive.js.org/support handlers = { mouseover: function () { // Create a tooltip... diff --git a/docs/0.6/Adaptors.md.hbs b/docs/0.6/Adaptors.md.hbs index b8e1259..1b96a57 100644 --- a/docs/0.6/Adaptors.md.hbs +++ b/docs/0.6/Adaptors.md.hbs @@ -4,7 +4,7 @@ title: Adaptors Adaptors are a way of teaching Ractive to communicate seamlessly with other libraries such as Backbone. This means that you can, for example, have some or all of your app's data handled by Backbone - including fetching from and saving to your server, validation, sorting, filtering and so on - but still build a reactive user interface using Ractive, without having to create custom View classes or adding a whole load of event binding code. -It's probably easier to show, rather than tell: [this example application](http://examples.ractivejs.org/backbone) uses Backbone models describing all the James Bond films. The [code for the Backbone adaptor is here](https://github.com/ractivejs/ractive-adaptors-backbone). +It's probably easier to show, rather than tell: [this example application](http://examples.ractive.js.org/backbone) uses Backbone models describing all the James Bond films. The [code for the Backbone adaptor is here](https://github.com/ractivejs/ractive-adaptors-backbone). Using adaptors diff --git a/docs/0.6/Contributing.md.hbs b/docs/0.6/Contributing.md.hbs index ebccbaf..772df85 100644 --- a/docs/0.6/Contributing.md.hbs +++ b/docs/0.6/Contributing.md.hbs @@ -10,7 +10,7 @@ Pull requests are always welcome on [GitHub](https://github.com/ractivejs/ractiv ## Other ways to contribute * Spread the word! The larger the community using Ractive, the better it becomes. Write blog posts, mention it to your developer colleagues and friends, submit talks (here are some [tips on speaking at tech meetups](http://speaking.io/)). -* Fix documentation. Each page on this site has an 'edit' button in the top right, which will take you to GitHub where you can submit fixes. If you spot an error or think something's missing and aren't sure how to fix it, [raise an issue](https://github.com/ractivejs/docs.ractivejs.org/issues). +* Fix documentation. Each page on this site has an 'edit' button in the top right, which will take you to GitHub where you can submit fixes. If you spot an error or think something's missing and aren't sure how to fix it, [raise an issue](https://github.com/ractivejs/v0.x/issues). * Help other developers on StackOverflow. Subscribe to [questions tagged 'ractivejs'](http://stackoverflow.com/questions/tagged/ractivejs), and you'll get alerts when someone asks a question that you might be able to answer. * Write plugins. See the {{{createLink 'Create plugins'}}} page for more information. diff --git a/docs/0.6/Get started.md.hbs b/docs/0.6/Get started.md.hbs index fecbfc5..dd892bd 100644 --- a/docs/0.6/Get started.md.hbs +++ b/docs/0.6/Get started.md.hbs @@ -5,7 +5,7 @@ title: Get started Welcome! These pages aim to provide all the information you need to master Ractive. -If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/ractivejs/docs.ractivejs.org/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! +If you see something wrong, out of date, or missing from this documentation, please [raise an issue on GitHub](https://github.com/ractivejs/v0.x/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you! Using Ractive is very simple. An instance is created using `new Ractive({...})` with the desired options: @@ -21,7 +21,7 @@ var ractive = new Ractive({ While there are no _required_ options, the three shown above - __el__ement, __template__ and __data__ - are the most common. They specify __what data__ to bind to __what template__ and __where__ it should be placed in the __html document__. -A good way to get up and running is with the [60 second setup](http://ractivejs.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractivejs.org) will familiarise you with the various ways you can use Ractive. +A good way to get up and running is with the [60 second setup](http://ractive.js.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractive.js.org) will familiarise you with the various ways you can use Ractive. Checkout the {{{createLink 'Options' 'Configuration Options'}}} to learn more about all the available options. diff --git a/docs/0.6/Mustaches.md.hbs b/docs/0.6/Mustaches.md.hbs index d308ffa..ddb36e0 100644 --- a/docs/0.6/Mustaches.md.hbs +++ b/docs/0.6/Mustaches.md.hbs @@ -40,7 +40,7 @@ As soon as the mustache knows what its keypath is (which may not be at render ti If you already know Mustache, Ractive supports all the Mustache features - basic Mustache variables like `\{{name}}`, as well as sections, partials, and even delimiter changes. If you're already familiar with Mustache, skip to the Extensions section below. -You can also check out the [tutorials](http://learn.ractivejs.org). +You can also check out the [tutorials](http://learn.ractive.js.org). ### Variables diff --git a/docs/0.6/Options.md.hbs b/docs/0.6/Options.md.hbs index 38024d2..054f9e6 100644 --- a/docs/0.6/Options.md.hbs +++ b/docs/0.6/Options.md.hbs @@ -84,7 +84,7 @@ ractive.myMethod(); // triggers the alert > ```js > template: '#myTemplate' > ``` -> See the [60 second setup](http://ractivejs.org/60-second-setup) for an example of this. +> See the [60 second setup](http://ractive.js.org/60-second-setup) for an example of this. > Make sure to set `type='text/ractive'` on the ` diff --git a/templates/0.4.0/page.hbs b/templates/0.4.0/page.hbs index 07677ff..045f706 100644 --- a/templates/0.4.0/page.hbs +++ b/templates/0.4.0/page.hbs @@ -41,7 +41,7 @@ <%= footer %> - <%= analytics("UA-5602942-6","ractivejs.org") %> + <%= analytics("UA-5602942-6","ractive.js.org") %> diff --git a/templates/0.5/page.hbs b/templates/0.5/page.hbs index 07677ff..045f706 100644 --- a/templates/0.5/page.hbs +++ b/templates/0.5/page.hbs @@ -41,7 +41,7 @@ <%= footer %> - <%= analytics("UA-5602942-6","ractivejs.org") %> + <%= analytics("UA-5602942-6","ractive.js.org") %> diff --git a/templates/0.6/page.hbs b/templates/0.6/page.hbs index 15fe1b5..368677f 100644 --- a/templates/0.6/page.hbs +++ b/templates/0.6/page.hbs @@ -41,7 +41,7 @@ <%= footer %> - <%= analytics("UA-5602942-6","ractivejs.org") %> + <%= analytics("UA-5602942-6","ractive.js.org") %> diff --git a/templates/0.7/page.hbs b/templates/0.7/page.hbs index 15fe1b5..368677f 100644 --- a/templates/0.7/page.hbs +++ b/templates/0.7/page.hbs @@ -41,7 +41,7 @@ <%= footer %> - <%= analytics("UA-5602942-6","ractivejs.org") %> + <%= analytics("UA-5602942-6","ractive.js.org") %> diff --git a/templates/0.8/page.hbs b/templates/0.8/page.hbs index 15fe1b5..368677f 100644 --- a/templates/0.8/page.hbs +++ b/templates/0.8/page.hbs @@ -41,7 +41,7 @@ <%= footer %> - <%= analytics("UA-5602942-6","ractivejs.org") %> + <%= analytics("UA-5602942-6","ractive.js.org") %>