kittyjs
kittyjs copied to clipboard
KittyJS is a super lightweight and complete AMD-compliant module loader
**code**: // For IE6-9 browsers, the script onload event may not fire right // after the script is evaluated. Kris Zyp found that it // could query the script nodes...
我现在定义了这样一个模块 `//g.alicdn.com/thx/brix-release/0.1.4/brix-components/dropdown/dropdown.js` ``` js define( [ 'jquery', 'underscore', 'brix/loader', 'components/base', 'brix/event', './dropdown.tpl.js' ], function( $, _, Loader, Brix, EventManager, template ) { }) ``` 在加载`./dropdown.tpl.js`的时候,传入`relativeUri`方法的参数分别为`./dropdown.tpl.js`和 `//g.alicdn.com/thx/brix-release/0.1.4/brix-components/dropdown` ``` js function relativeUri(uri,...
License
Hello JZeng, Nice work on this AMD loader. What's the current open source License used for KittyJS?