control-freak-ide/server/nodejs/nxappmain/main_server_ts.js
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

27 lines
475 B
JavaScript

require([
'dcl/dcl',
'xide/mixins/EventedMixin',
"dojo/node!lodash",
"dojo/node!commander",
"require",
"dojo/Deferred"
], function (dcl,EventedMixin,_,commander,require,Deferred) {
global['_'] = _;
global['commander'] = commander;
var Module = dcl(EventedMixin.dcl,{
init:function(){
}
});
var instance = new Module();
try {
require(['nxappmain/main_server'], function (ctx) {
});
}catch(e){
console.error('error main ',e);
}
return instance;
});