diff options
author | Thomas Davis <thomasalwyndavis@gmail.com> | 2014-12-31 17:51:52 +1000 |
---|---|---|
committer | Thomas Davis <thomasalwyndavis@gmail.com> | 2014-12-31 17:51:52 +1000 |
commit | ceed98b4ce05ce8ce3d3f5d24e7107a5cd1b56ce (patch) | |
tree | 7a11eadff15575e2c76d163ff88ead6521759c20 | |
parent | 9ab21052555dda1a25f71336f035ad8693262c0f (diff) | |
parent | 23d582c2d4edeba2d0153e613e55c57c46d191d3 (diff) | |
download | backbonetutorials-ceed98b4ce05ce8ce3d3f5d24e7107a5cd1b56ce.zip backbonetutorials-ceed98b4ce05ce8ce3d3f5d24e7107a5cd1b56ce.tar.gz backbonetutorials-ceed98b4ce05ce8ce3d3f5d24e7107a5cd1b56ce.tar.bz2 |
Merge pull request #125 from ClimbsRocks/patch-3
Typo: Added 'is' to "if it not defined"
-rw-r--r-- | _posts/2011-01-28-what-is-a-view.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2011-01-28-what-is-a-view.md b/_posts/2011-01-28-what-is-a-view.md index de0aa70..69a110d 100644 --- a/_posts/2011-01-28-what-is-a-view.md +++ b/_posts/2011-01-28-what-is-a-view.md @@ -27,7 +27,7 @@ For the purposes of this demonstration, we will be implementing a search box. [A ## The "el" property -The "el" property references the DOM object created in the browser. Every Backbone.js view has an "el" property, and if it not defined, Backbone.js will construct its own, which is an empty div element. +The "el" property references the DOM object created in the browser. Every Backbone.js view has an "el" property, and if it is not defined, Backbone.js will construct its own, which is an empty div element. Let us set our view's "el" property to div#search_container, effectively making Backbone.View the owner of the DOM element. |