can
Version:
MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.
31 lines (22 loc) • 416 B
JavaScript
// summary:
// Test whether Dojo will load inside the webworker.
var dojoConfig = {
baseUrl: "../../../../../",
packages: [{
name: "dojo", location: "dojo"
}]
};
try{
importScripts("../../../../dojo.js", "console.js");
self.postMessage({
type: "testResult",
test: "dojo loaded",
value: true
});
}catch(e){
self.postMessage({
type: "testResult",
test: "dojo loaded",
value: false
});
}