Closed sculove closed 8 years ago
Libraries that the outlayer using do not support AMD. https://github.com/desandro/eventie/blob/master/eventie.js#L73
if ( typeof define === 'function' && define.amd ) {
// AMD
define( 'eventie/eventie',eventie );
} else if ( typeof exports === 'object' ) {
// CommonJS
module.exports = eventie;
} else {
// browser global
window.eventie = eventie;
}
Description
egjs has many dependencies. Especially, the eg,infiniteGrid needs to the outlayer and others. If your browser uses requirejs, you couldn't use egjs.