Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Initialize:function(){
var ns=this;
xui.launch = function(cls, onEnd, lang, theme, showUI, parent, subId, onCreated, onDomReady){
ns.load.apply(ns, [cls, function(err, module){
if(module)module.setHost(window, xui.ini.rootModuleName);
xui.tryF(onEnd, [err, module], module);
}, lang, theme, showUI, parent, subId, onCreated, onDomReady]);
};
// compitable
ns['xui.Com']=ns.prototype['xui.Com']=1;
xui.Com=ns;
ns.$activeClass$='xui.Module';
xui.broadcast = function(id, msg1, msg2, msg3, msg4, msg5, msg6, msg7, msg8, msg9){
var arr=xui.toArr(arguments);
xui.arr.each(xui.Module._cache,function(o){
o.fireEvent('onGlobalMessage', arr);
});
};
},
After:function(){
Initialize:function(){
var ns=this;
xui.launch = function(cls, onEnd, lang, theme, showUI, parent, subId, onCreated, onDomReady){
ns.load.apply(ns, [cls, function(err, module){
if(module)module.setHost(window, xui.ini.rootModuleName);
xui.tryF(onEnd, [err, module], module);
}, lang, theme, showUI, parent, subId, onCreated, onDomReady]);
};
// compitable
ns['xui.Com']=ns.prototype['xui.Com']=1;
xui.Com=ns;
ns.$activeClass$='xui.Module';
xui.broadcast = function(id, msg1, msg2, msg3, msg4, msg5){
xui.arr.each(xui.Module._cache,function(o){
o.fireEvent('onGlobalMessage', [id, msg1, msg2, msg3, msg4, msg5]);
});
};
},
After:function(){
Initialize:function(){
var ns=this;
xui.launch = function(cls, onEnd, lang, theme, showUI){
ns.load.apply(ns, arguments);
};
// compitable
ns['xui.Com']=ns.prototype['xui.Com']=1;
xui.Com=ns;
},
After:function(){