Created
December 11, 2014 13:23
-
-
Save nfroidure/8e07426a2bc9ff65dee5 to your computer and use it in GitHub Desktop.
Mixins mess in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Mixin = require('Mixin'); | |
var Mixin1 = require('Mixin1'); | |
var Mixin2 = require('Mixin2'); | |
var Mixin3 = require('Mixin3'); | |
function MyCtor() { | |
} | |
Mixin.set(myCtor, Mixin1, Mixin2, Mixin3); | |
// Usage | |
new MyCtor().add(); | |
// Q: Where add is defined ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lel. Tell this to React developpers :)