UNPKG

mutant

Version:

Create observables and map them to DOM elements. Massively inspired by hyperscript and observ-*. No virtual dom, just direct observable bindings. Unnecessary garbage collection is avoided by using mutable objects instead of blasting immutable junk all ove

6 lines (4 loc) 114 B
module.exports = resolve function resolve (source) { return typeof source === 'function' ? source() : source }