Skip to content

Instantly share code, notes, and snippets.

@Inviz
Created April 3, 2009 09:16
Show Gist options
  • Select an option

  • Save Inviz/89683 to your computer and use it in GitHub Desktop.

Select an option

Save Inviz/89683 to your computer and use it in GitHub Desktop.
var mixin = new Class({
method: function(a) {
this.parent(a + 1)
}
});
var fancy = new Class({
method: function(a) {
console.log(a)
},
Implements: mixin
});
(new fancy).method(1) //this.parent() is not function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment