RoboJS is a library that aims to dynamically load JS modules depending on how the DOM is composed.
changed transpiler from traucer to babel minor fix
added RJEvent. refactor EventDispatcher refactor bootstrap function each MediatorHandler creates its own EventDispatcher, in order to support multiple bootstrap
bugfix
removing mediatorid attribute, will force mediator disposing and re-creation
Mediator is a high order function that returns a disposable function, invoked when node element is removed from DOM
Mediator
constructor takes two parameters, node
and dispatcher
. node
is a reference to DOM element, dispatcher
is a reference to EventDispatcher
Object. initialize
and destroy
methods don't accept parameters anymore
improved query to discover custom elements in DOM
Custom Element support added. you can define your custom element logics and robojs takes care to load and register the new custom element when it appears in DOM the first time.