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.
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
});
}