Skip to content

Instantly share code, notes, and snippets.

@sheedy
Last active March 25, 2016 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sheedy/c0836e4601ae6a7a824b to your computer and use it in GitHub Desktop.
Save sheedy/c0836e4601ae6a7a824b to your computer and use it in GitHub Desktop.
var Module = (function () {
var _privateMethod = function () {
// private stuff
};
var publicMethod = function () {
_privateMethod();
};
return {
publicMethod: publicMethod
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment