This repository was archived by the owner on Mar 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
This repository was archived by the owner on Mar 20, 2021. It is now read-only.
Allow blueprints to be a function. #5
Open
Description
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 }