Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Broken code.
FMWK = { 'hulk' : 'smash' }
FMWK.button = function() {
  var _this = this;
console.log(this.hasOwnProperty('hulk') ? "HULK SMASH" : "");
this.el = document.createElement('button');
    FMWK.button.prototype[method] = function(){
return this;
var b1 = new FMWK.button();
var b2 = new FMWK.button();
b1.hide() // fires on b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.