µ jQuery Application Toolkit
Installation
npm install mu-jquery-app --save
bower install mu-jquery-app --save
QuickStart your app in 3 steps
Check out the source or try a live example.
Application
file: app.js
.
{ var root = this; factory;}"jquery" "mu-jquery-capture/add" "mu-jquery-loom/jquery.loom" { var root = this; { return rootname; } // Replace jQuery.event.add with a version that captures event results jQueryeventadd = ; // Extend jQuery.fn with .crank/.weave loom; // Wait for document ready and weave the document element ;};
Widget
file: widget.js
{ var root = this; root"package/widget" = factory;}"mu-jquery-widget/widget" { return widget;};
HTML
file: index.html
click me