Permalink
Browse files

fix a few typos and make the hyperlink clickable

  • Loading branch information...
1 parent edc8f7a commit c8490e3d1cd8743cde7d13a7dc16df5c074eea7f @chickenkiller chickenkiller committed with wagenet May 12, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 source/getting_started_2.textile
View
6 source/getting_started_2.textile
@@ -11,7 +11,7 @@ endprologue.
h3. Prepare the Application
-In the "first part of this guide":html_based.html, you learned how to build a basic Todos application. You now know how to define your models, views, and controllers, then describe how they interact via bindings. So far, however, you have had no way to persist the information between page refreshes.
+In the "first part of this guide":getting_started.html, you learned how to build a basic Todos application. You now know how to define your models, views, and controllers, then describe how they interact via bindings. So far, however, you have had no way to persist the information between page refreshes.
The best way to change that is to use SproutCore's Data Store framework to manage records. An instance of +SC.Store+ is responsible for managing the lifecycle of your records. Behind the scenes, the store uses an +SC.DataSource+ to translate retrieve data from your server and persist changes back.
@@ -73,7 +73,7 @@ Todos = SC.Application.create({
We just created a new +SC.Store+ and told it to load its data from the fixtures we previously defined. Later in the development cycle, when you want to connect your application to a real server, you can just change the argument
of the +from()+ method to something like +"MyDataSource"+.
-Let's make sure that everything is working. If you haven't already, run +sc-server+ from your application directory, then open +http://localhost:4020/todos+ in your web browser. Open your browser's JavaScript console and type the following commands:
+Let's make sure that everything is working. If you haven't already, run +sc-server+ from your application directory, then open "http://localhost:4020/todos":http://localhost:4020/todos in your web browser. Open your browser's JavaScript console and type the following commands:
<javascript>
records = Todos.store.find(Todos.Todo)
@@ -94,7 +94,7 @@ SC.ready(function() {
templateName: 'todos'
});
- var todos = Todos.store.find(Todos.Todo)
+ var todos = Todos.store.find(Todos.Todo);
Todos.todoListController.set('content', todos);
});
</javascript>

0 comments on commit c8490e3

Please sign in to comment.