Skip to content

Instantly share code, notes, and snippets.

@sintaxi sintaxi/🐒.js
Last active Nov 14, 2016

Embed
What would you like to do?
🐒🐒🐒 All the way down.
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
You can’t perform that action at this time.