Frame
Frame copied to clipboard
Allow blueprints to be a function.
Allowing blueprints to export themselves as a single function decreases the friction of development.
Use case:
Blueprint = function(...) {
}
Internally:
if (typeof Blueprint === 'function')
Blueprint = { name: Blueprint.name, in: Blueprint }