Last active
November 14, 2016 21:51
-
-
Save sintaxi/bd7a860eb510695e1cd3b17fa805ea30 to your computer and use it in GitHub Desktop.
π’π’π’ All the way down.
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 π’ = function(mstr){ | |
if (!mstr) mstr = {} | |
return function(config){ | |
for (var attr in config) { mstr[attr] = config[attr] } | |
var obj = scope(mstr) | |
obj.exec = function(){ | |
// awesome things here | |
} | |
return obj | |
} | |
} | |
module.exports = π’() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment