Closed TylorS closed 8 years ago
Currently makeDOMDriver() accepts a container and an array of snabbdom modules to load.
makeDOMDriver()
container
makeDOMDriver('.selector', [ require('snabbdom/modules/props'), require('snabbdom/modules/style') ])
I'd like to make the second parameter an optional object. i.e.
makeDOMDriver('.selector', { modules: [ require('snabbdom/modules/props'), require('snabbdom/modules/style') ] })
in order to gain flexibility in the future without the needing to further break the API. We are pre-1.0 now, and I would think it better now than later.
:+1:
We are pre-1.0 now, and I would think it better now than later.
And agreed.
Cool, I'll make the possible changes soon. :+1:
Currently
makeDOMDriver()
accepts acontainer
and an array of snabbdom modules to load.I'd like to make the second parameter an optional object. i.e.
in order to gain flexibility in the future without the needing to further break the API. We are pre-1.0 now, and I would think it better now than later.