Skip to content

Instantly share code, notes, and snippets.

@steffentchr
Created January 30, 2010 21:11
Show Gist options
  • Save steffentchr/290726 to your computer and use it in GitHub Desktop.
Save steffentchr/290726 to your computer and use it in GitHub Desktop.
function onePrivateFunction(whatevs) {
}
var PersistentStore = exports.PersistentStore = function(path) {
this.storage_path = path || this.DEFAULT_STORAGE_PATH;
var a = onePrivateFunction(3);
var anotherPrivateFunction = function(yes) {
...
}
this.publicProperty = anotherPrivateFunction(true);
}
PersistentStore.DEFAULT_STORAGE_PATH;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment