Skip to content

Commit

Permalink
Merge pull request #68 from pwhisenhunt/patch-1
Browse files Browse the repository at this point in the history
Fix for issue #65
  • Loading branch information
addyosmani committed Jan 15, 2013
2 parents f8da704 + 0af1a96 commit 6435a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 6435a24

Please sign in to comment.