Created
April 19, 2011 21:35
-
-
Save rondevera/929754 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Carl = (function(){ | |
var C = {}, | |
drops = []; // private | |
C.eavesdrops = function(pattern){ | |
drops.push(pattern); | |
}; | |
return C; | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment