dojo
Version:
Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.
15 lines (14 loc) • 333 B
JavaScript
require({cache:
{
'common/another':function(){
define([], function () {
console.log('this is Common1/another in layer');
results.push('Common1/another:cache');
});
}
}
});
define(['common/another', 'starmap/demo2'], function() {
console.log('this is App1/thing in layer');
results.push('App1/thing:cache');
});