Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var MyModule = (function(captures)
- {
- var pype = MyModule_Constructor.prototype;
- var private_static;
- pype.public_static;
- function MyModule_Constructor(options)
- {
- var self = this;
- var private_per_instance;
- self.public_per_instance;
- }
- return MyModule_Constructor;
- })("your module captures here");
- // Usage of your module then becomes:
- var myModuleInstance = new MyModule("your per instance options here");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement