Created
May 27, 2013 22:00
-
-
Save gkatsev/5659294 to your computer and use it in GitHub Desktop.
This file contains 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 Ctor = (function(window, undefined) { | |
var private = 5; | |
var Ctor = function() { | |
// ... | |
} | |
Ctro.protoype.foo = function() { | |
return private; | |
} | |
return Ctor; | |
})(window); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment