Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for issue #65

  • Loading branch information...
commit 0af1a961db040d7e31420de0f5b099eb231435b3 1 parent f8da704
Phillip Whisenhunt pwhisenhunt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 book/index.html
4 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>
Please sign in to comment.
Something went wrong with that request. Please try again.