Permalink
Browse files

Update samples/private.js

  • Loading branch information...
1 parent a528d87 commit 7d9f6593e5d3758ed084430258caa85c48642684 @tnhu committed Apr 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 samples/private.js
View
@@ -1,4 +1,6 @@
var Foo = Class(function(){
+ // please note that privateCounter and privateEcho are
+ // private static. They are shared over Foo's instances
var privateCounter = 0;
function privateEcho(msg) {

0 comments on commit 7d9f659

Please sign in to comment.