UNPKG

xmlplus

Version:

A JavaScript framwork for developing projects efficiently.

15 lines 440 B
xmlplus("xp", function (xp, $_) { $_().imports({ Index: { xml: "<div id='index'>\ <span id='foo'>foo</span>\ </div>", fun: function ( sys, items, opts ) { sys.foo.watch("msg", function(e) { console.log("hello, world"); }); sys.index.notify("msg"); } } }); });