Browse files

Updated several grammatical errors, missing words, fixed formatting o…

…n one code example
  • Loading branch information...
1 parent ab63087 commit 2212869ec76786fcecfe2a28fafdf35a0046b563 @jasonpgignac jasonpgignac committed with etgryphon Feb 9, 2011
Showing with 5 additions and 6 deletions.
  1. +5 −6 source/core_concepts.textile
@@ -19,7 +19,7 @@ Observers and Bindings, which I will go into detail on below.
h4. Creating an +SC.Object+ Instance
-Creation of an +SC.Object+ instance is straight-forward.
+Creation of an +SC.Object+ instance is straightforward.
var obj = SC.Object.create()
@@ -43,7 +43,6 @@ h4. Creating an +SC.Object+ Subclass
In many cases you will want to create subclasses of +SC.Object+ to
handle similar objects. In the above example, we created a person.
-Normally it would make sense to have a +Person+ object.
MyApp.Person = SC.Object.extend({
@@ -355,10 +354,10 @@ try again:
MyApp.observerObject = SC.View.create({
userNameDidChange: function(){
- }.observes('MyApp.usersController*') // We've added an asterisk to this line
+ }.observes('MyApp.usersController*') // We have added an asterisk to this line
-MyApp.usersController.setPath('', 'Jim'); // alert('Jim')
+MyApp.usersController.setPath('', 'Jim'); // alert(Jim)
MyApp.usersController.set('mainUser', SC.Object.create({ name: 'Bob' })); // alert('Bob')
@@ -459,7 +458,7 @@ loop. Normally user events would trigger the run loop, but since your tests
are automated, there are no user events taking place.
You may also find that when you are working in your browser's JavaScript console
-that, when you set a variable, your app doesn't as you expect. This may be
+that, when you set a variable, your app's interface doesn't update as you expect. This may be
caused by the run loop not firing (since you aren't interacting directly with
the app no events are being triggered). In this case you should try invoking
the run loop manually, or just move your mouse over the app to trigger a new
@@ -475,4 +474,4 @@ h3. Changelog
* January 19, 2011: further updates by "Peter Wagenet":credits.html#pwagenet
* January 20, 2011: corrections to "The +init+ Method" and "The Run Loop" by "Peter Wagenet":credits.html#pwagenet
* January 24, 2011: added section on "Bindings and Chained Property Paths" by "Peter Wagenet":credits.html#pwagenet
+* February 9, 2011: made grammatical and formatting changes by Jason Gignac

0 comments on commit 2212869

Please sign in to comment.