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.
 
 
 
 
 
 

15 lines
333 B

define([
'intern/dojo/node!leadfoot/helpers/pollUntil'
], function (pollUntil) {
function ready(remote, url, timeout) {
return remote
.get(url)
.then(pollUntil(
'return typeof ready !== "undefined" && ready ? true : undefined;',
[],
typeof timeout === 'undefined' ? 5000 : timeout
));
}
return ready;
});