Skip to content

Instantly share code, notes, and snippets.

@edwardhotchkiss
Created August 17, 2013 04:10
Show Gist options
  • Save edwardhotchkiss/6255220 to your computer and use it in GitHub Desktop.
Save edwardhotchkiss/6255220 to your computer and use it in GitHub Desktop.
wrapper('skeleton', ['logger'], function(Logger) {
'use strict';
function Skeleton(params) {
params = params || {};
this.name = params.name || 'default';
this.initialize();
}
Skeleton.prototype = {
initialize: function() {
Logger.log('this skeleton\'s name is %s', this.name);
}
};
return Skeleton;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment