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.
21 lines (20 loc) • 531 B
JavaScript
require({cache:
{
'common/another':function(){
define(['./anotherone'], function () {
console.log('this is Common2/another in layer');
results.push('Common2/another:cache');
});
},
'common/anotherone':function(){
define([], function () {
console.log('this is Common2/anotherone in layer');
results.push('Common2/anotherone:cache');
});
}
}
});
define(['common/another', 'starmapModule/mappedB'], function() {
console.log('this is App2/thing in layer');
results.push('App2/thing:cache');
});