Frame icon indicating copy to clipboard operation
Frame copied to clipboard

Allow blueprints to be a function.

Open bugs181 opened this issue 6 years ago • 0 comments

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 }

bugs181 avatar Mar 11 '19 03:03 bugs181