Skip to content

Commit

Permalink
Fixed links pointing to 2.3-pre documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfredo-Delgado committed Nov 18, 2015
1 parent 04130da commit e6a7bd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/features.md
Expand Up @@ -565,7 +565,7 @@ That's it! No need for additional configuration in your JavaScript.
<a class="btn" href="http://stealjs.com/docs/steal-tools.guides.progressive_loading.html"><span>View the Documentation</span></a>
<a class="btn" href="/Guide.html#section=section_Switchbetweenpages"><span>View the Guide</span></a>

_Progressive Loading is a feature of [StealJS](http://stealjs.com/) with additional support via the [`<can-import>` tag](http://canjs.com/2.3-pre/docs/can%7Cview%7Cstache%7Csystem.import.html) of [CanJS](http://canjs.com/)_
_Progressive Loading is a feature of [StealJS](http://stealjs.com/) with additional support via the [`<can-import>` tag](http://canjs.com/docs/can%7Cview%7Cstache%7Csystem.import.html) of [CanJS](http://canjs.com/)_

### Caching and Minimal Data Requests

Expand Down Expand Up @@ -993,7 +993,7 @@ This architecture simplifies routes so that they can be managed entirely in simp
{{/switch}}
```

<a class="btn" href="http://canjs.com/2.3-pre/guides/AppStateAndRouting.html"><span>View the Documentation</span></a>
<a class="btn" href="http://canjs.com/guides/AppStateAndRouting.html"><span>View the Documentation</span></a>
<a class="btn" href="/place-my-order.html#section=section_Settinguprouting"><span>View the Guide</span></a>

_Pretty URLs and routing are features of the [CanJS](http://canjs.com/) project._
Expand Down Expand Up @@ -1574,7 +1574,7 @@ Check out [their source](https://github.com/bitovi-components/bit-tabs) for good
##### In-template dependency declarations
[can-import](http://canjs.com/2.3-pre/docs/can%7Cview%7Cstache%7Csystem.import.html) is a powerful feature that allows templates to be entirely self-sufficient. You can load custom elements, helpers, and other modules straight from a template file like:
[can-import](http://canjs.com/docs/can%7Cview%7Cstache%7Csystem.import.html) is a powerful feature that allows templates to be entirely self-sufficient. You can load custom elements, helpers, and other modules straight from a template file like:
```
<can-import from="components/my_tabs"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/guide.md
Expand Up @@ -173,7 +173,7 @@ Later we will update the generated files with the chat messages functionality.

### Navigate between pages

> Routing works a bit differently than other libraries. In other libraries, you might declare routes and map those to controller-like actions. DoneJS application [routes](http://canjs.com/docs/can.route.html) map URL strings (like /user/1) to properties on our application's view-model. In other words, our routes will just be a representation of the application state. To learn more about routing visit the CanJS guide on [Application State and Routing](http://canjs.com/2.3-pre/guides/AppStateAndRouting.html).
> Routing works a bit differently than other libraries. In other libraries, you might declare routes and map those to controller-like actions. DoneJS application [routes](http://canjs.com/docs/can.route.html) map URL strings (like /user/1) to properties on our application's view-model. In other words, our routes will just be a representation of the application state. To learn more about routing visit the CanJS guide on [Application State and Routing](http://canjs.com/guides/AppStateAndRouting.html).
First, let's update `src/home.component` with the original content from the homepage and a link to the chat messages page:

Expand Down
6 changes: 3 additions & 3 deletions docs/place-my-order.md
Expand Up @@ -344,7 +344,7 @@ Routing works a bit differently than other libraries. In other libraries, you mi
DoneJS application [routes](http://canjs.com/docs/can.route.html) map URL strings (like /user/1) to properties in our application state. In other words, our routes will just be a representation of the application state.
To learn more about routing visit the CanJS guide on [Application State and Routing](http://canjs.com/2.3-pre/guides/AppStateAndRouting.html).
To learn more about routing visit the CanJS guide on [Application State and Routing](http://canjs.com/guides/AppStateAndRouting.html).
To add our routes, change `src/app.js` to:
Expand Down Expand Up @@ -411,7 +411,7 @@ and update `src/header.component` to:
</can-component>
```
Here we use [can-href](http://canjs.com/2.3-pre/docs/can.view.href.html) to create links that will set values in the application state. For example, the first usage of can-href above will create a link based on the current routing rules ([http://localhost:8080/home](http://localhost:8080/home) in this case) that sets the `page` property to `home` when clicked.
Here we use [can-href](http://canjs.com/docs/can.view.href.html) to create links that will set values in the application state. For example, the first usage of can-href above will create a link based on the current routing rules ([http://localhost:8080/home](http://localhost:8080/home) in this case) that sets the `page` property to `home` when clicked.
We also use the Handlebars `eq` helper to make the appropriate link active.
Expand Down Expand Up @@ -497,7 +497,7 @@ Update `src/index.stache` to:
</html>
```
Here we make a `switch` statement that checks for the current `page` property (part of the AppViewModel that makes up the scope object of this template) then progressively loads the component with [can-import](http://canjs.com/2.3-pre/docs/can%7Cview%7Cstache%7Csystem.import.html) and initializes it.
Here we make a `switch` statement that checks for the current `page` property (part of the AppViewModel that makes up the scope object of this template) then progressively loads the component with [can-import](http://canjs.com/docs/can%7Cview%7Cstache%7Csystem.import.html) and initializes it.

Setting `can-tag="pmo-loading"` inserts a `<pmo-loading>` loading indicator while the import is in progress. A can-import's view model is a promise object, so once it is done loading, it sets its `state` property to `resolved`.
Expand Down

0 comments on commit e6a7bd0

Please sign in to comment.