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.
|
define(["dojo/has"], function(has) { |
|
/* Loads a string based on the value of defined features */ |
|
var data = has("foo") ? "foo" : has("bar") ? "bar" : "undefined"; |
|
return { |
|
load: function(id, parentRequire, loaded) { |
|
loaded(data); |
|
} |
|
} |
|
}); |