sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
540 B

// module:
// dijit/tests/delay.js
// summary:
// AMD plugin that waits a specified number of ms before "loading".
// Used to delay execution of callbacks registered by dojo.ready().
// (Used by _testCommon.html)
//
// Usage: ready(1, function(){ require(["dijit/tests/delay!300"]); });
// TODO: remove for 2.0, it's only used by _testCommon.js which will also be removed.
define({
load: function(delay, req, loaded){
setTimeout(function(){
loaded(1);
}, delay);
},
dynamic: 1,
normalize: function(id){
return id;
}
});