Permalink
Browse files

Fix for issue #65

  • Loading branch information...
1 parent f8da704 commit 0af1a961db040d7e31420de0f5b099eb231435b3 @pwhisenhunt pwhisenhunt committed Jan 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 book/index.html
View
@@ -1509,8 +1509,8 @@ <h2 id="singletonpatternjavascript">
// Usage:
-var singleA = mySingleton;
-var singleB = mySingleton;
+var singleA = mySingleton.getInstance();
+var singleB = mySingleton.getInstance();
console.log( singleA === singleB ); // true
</pre>

0 comments on commit 0af1a96

Please sign in to comment.