summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPreston Parry <ClimbsRocks@users.noreply.github.com>2014-12-30 23:50:04 -0800
committerPreston Parry <ClimbsRocks@users.noreply.github.com>2014-12-30 23:50:04 -0800
commit23d582c2d4edeba2d0153e613e55c57c46d191d3 (patch)
tree7a11eadff15575e2c76d163ff88ead6521759c20
parent9ab21052555dda1a25f71336f035ad8693262c0f (diff)
downloadbackbonetutorials-23d582c2d4edeba2d0153e613e55c57c46d191d3.zip
backbonetutorials-23d582c2d4edeba2d0153e613e55c57c46d191d3.tar.gz
backbonetutorials-23d582c2d4edeba2d0153e613e55c57c46d191d3.tar.bz2
Typo: Added 'is' to "if it not defined"
Added 'is' to the following sentence: "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."
-rw-r--r--_posts/2011-01-28-what-is-a-view.md2
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.