Skip to content

Instantly share code, notes, and snippets.

@robkuz
Created March 11, 2013 08:09
Show Gist options
  • Select an option

  • Save robkuz/5132709 to your computer and use it in GitHub Desktop.

Select an option

Save robkuz/5132709 to your computer and use it in GitHub Desktop.
A = (function() {
function A() {
var _this = this;
this.somemethod = function(paramlist) {
return A.prototype.somemethod.apply(_this, arguments);
};
}
A.prototype.somemethod = function(paramlist) {
return doSomethingHere();
};
return A;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment