Permalink
Browse files

Fixing typo.

  • Loading branch information...
1 parent e6072f8 commit f37d82e54305410c222f991228bd1086f9176a6b @pwhisenhunt pwhisenhunt committed Dec 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/index.html
View
@@ -8547,7 +8547,7 @@ <h2 id="detailnamespacing">Namespacing Patterns</h2>
</pre>
<p>Object literals have the advantage of not polluting the global namespace but assist in organizing code and parameters logically. They are truly beneficial if we wish to create easily-readable structures that can be expanded to support deep nesting. Unlike simple global variables, object literals often also take into account tests for the existence of a variable by the same name so the chances of collision occurring are significantly reduced.</p>
-<p>In the next sample, we demonstrate a number of different ways in which we can check to see if a variable (object or plugin namespace) already exists, definiting it if it doesn't.</p>
+<p>In the next sample, we demonstrate a number of different ways in which we can check to see if a variable (object or plugin namespace) already exists, defining it if it doesn't.</p>
<pre class="brush: js">
// This doesn't check for existence of "myApplication" in

0 comments on commit f37d82e

Please sign in to comment.