64 lines
1.2 KiB
JavaScript
64 lines
1.2 KiB
JavaScript
var initModule = "nxappmain/main_debugger";
|
|
|
|
global['dirname']=__dirname+'/';
|
|
|
|
if(process.platform=='cygwin'){
|
|
module.paths[0]=__dirname +'/../node_modules/win32/';
|
|
}
|
|
|
|
//try{
|
|
// Dojo Configuration
|
|
dojoConfig = {
|
|
hasCache: {
|
|
"host-node": 1,
|
|
"host-browser":0,
|
|
"dom":0,
|
|
"dojo-amd-factory-scan":1,
|
|
"dojo-has-api":0,
|
|
"dojo-inject-api":0,
|
|
"dojo-timeout-api":0,
|
|
"dojo-trace-api":0,
|
|
"dojo-log-api":0,
|
|
"dojo-dom-ready-api":0,
|
|
"dojo-publish-privates":0,
|
|
"dojo-config-api":0,
|
|
"dojo-sniff":1,
|
|
"dojo-sync-loader":0,
|
|
"dojo-test-sniff":0,
|
|
"config-deferredInstrumentation":0,
|
|
"config-useDeferredInstrumentation":"report-unhandled-rejections",
|
|
"config-tlmSiblingOfDojo":1
|
|
|
|
},
|
|
trace: 1,
|
|
async: 0,
|
|
baseUrl: ".",
|
|
packages: [
|
|
{
|
|
name: "dojo",
|
|
location: "dojo"
|
|
},{
|
|
name: "dijit",
|
|
location: "dijit"
|
|
},{
|
|
name: "dojox",
|
|
location: "dojox"
|
|
},
|
|
{
|
|
name: "nxappmain",
|
|
location: "nxappmain"
|
|
},
|
|
{
|
|
name: "xide",
|
|
location: "xide"
|
|
},
|
|
{
|
|
name: "xapp",
|
|
location: "xapp"
|
|
}
|
|
],
|
|
deps: [initModule]
|
|
};
|
|
|
|
// Load dojo/dojo
|
|
require("../dojo/dojo.js"); |