|
|
@ -21873,7 +21873,7 @@ _.extend(BI.OB.prototype, { |
|
|
|
var kv = {}; |
|
|
|
var kv = {}; |
|
|
|
BI.shortcut = function (xtype, cls) { |
|
|
|
BI.shortcut = function (xtype, cls) { |
|
|
|
if (kv[xtype] != null) { |
|
|
|
if (kv[xtype] != null) { |
|
|
|
console.error("shortcut:[" + xtype + "] has been registed"); |
|
|
|
_global.console && console.error("shortcut:[" + xtype + "] has been registed"); |
|
|
|
} |
|
|
|
} |
|
|
|
kv[xtype] = cls; |
|
|
|
kv[xtype] = cls; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -28273,7 +28273,7 @@ BI.extend(BI.DOM, { |
|
|
|
var constantInjection = {}; |
|
|
|
var constantInjection = {}; |
|
|
|
BI.constant = function (xtype, cls) { |
|
|
|
BI.constant = function (xtype, cls) { |
|
|
|
if (constantInjection[xtype] != null) { |
|
|
|
if (constantInjection[xtype] != null) { |
|
|
|
console.error("constant:[" + xtype + "] has been registed"); |
|
|
|
_global.console && console.error("constant:[" + xtype + "] has been registed"); |
|
|
|
} |
|
|
|
} |
|
|
|
constantInjection[xtype] = cls; |
|
|
|
constantInjection[xtype] = cls; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -28281,7 +28281,7 @@ BI.extend(BI.DOM, { |
|
|
|
var modelInjection = {}; |
|
|
|
var modelInjection = {}; |
|
|
|
BI.model = function (xtype, cls) { |
|
|
|
BI.model = function (xtype, cls) { |
|
|
|
if (modelInjection[xtype] != null) { |
|
|
|
if (modelInjection[xtype] != null) { |
|
|
|
console.error("model:[" + xtype + "] has been registed"); |
|
|
|
_global.console && console.error("model:[" + xtype + "] has been registed"); |
|
|
|
} |
|
|
|
} |
|
|
|
modelInjection[xtype] = cls; |
|
|
|
modelInjection[xtype] = cls; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -28289,7 +28289,7 @@ BI.extend(BI.DOM, { |
|
|
|
var storeInjection = {}; |
|
|
|
var storeInjection = {}; |
|
|
|
BI.store = function (xtype, cls) { |
|
|
|
BI.store = function (xtype, cls) { |
|
|
|
if (storeInjection[xtype] != null) { |
|
|
|
if (storeInjection[xtype] != null) { |
|
|
|
console.error("store:[" + xtype + "] has been registed"); |
|
|
|
_global.console && console.error("store:[" + xtype + "] has been registed"); |
|
|
|
} |
|
|
|
} |
|
|
|
storeInjection[xtype] = cls; |
|
|
|
storeInjection[xtype] = cls; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -28297,7 +28297,7 @@ BI.extend(BI.DOM, { |
|
|
|
var serviceInjection = {}; |
|
|
|
var serviceInjection = {}; |
|
|
|
BI.service = function (xtype, cls) { |
|
|
|
BI.service = function (xtype, cls) { |
|
|
|
if (serviceInjection[xtype] != null) { |
|
|
|
if (serviceInjection[xtype] != null) { |
|
|
|
console.error("service:[" + xtype + "] has been registed"); |
|
|
|
_global.console && console.error("service:[" + xtype + "] has been registed"); |
|
|
|
} |
|
|
|
} |
|
|
|
serviceInjection[xtype] = cls; |
|
|
|
serviceInjection[xtype] = cls; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -28305,7 +28305,7 @@ BI.extend(BI.DOM, { |
|
|
|
var providerInjection = {}; |
|
|
|
var providerInjection = {}; |
|
|
|
BI.provider = function (xtype, cls) { |
|
|
|
BI.provider = function (xtype, cls) { |
|
|
|
if (providerInjection[xtype] != null) { |
|
|
|
if (providerInjection[xtype] != null) { |
|
|
|
console.error("provider:[" + xtype + "] has been registed"); |
|
|
|
_global.console && console.error("provider:[" + xtype + "] has been registed"); |
|
|
|
} |
|
|
|
} |
|
|
|
providerInjection[xtype] = cls; |
|
|
|
providerInjection[xtype] = cls; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -28375,7 +28375,7 @@ BI.extend(BI.DOM, { |
|
|
|
try { |
|
|
|
try { |
|
|
|
bfns[i].apply(inst, arguments); |
|
|
|
bfns[i].apply(inst, arguments); |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
console.error(e); |
|
|
|
_global.console && console.error(e); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
@ -28389,7 +28389,7 @@ BI.extend(BI.DOM, { |
|
|
|
try { |
|
|
|
try { |
|
|
|
afns[i].apply(inst, arguments); |
|
|
|
afns[i].apply(inst, arguments); |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
console.error(e); |
|
|
|
_global.console && console.error(e); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
@ -28453,7 +28453,7 @@ BI.extend(BI.DOM, { |
|
|
|
try { |
|
|
|
try { |
|
|
|
act(event, config); |
|
|
|
act(event, config); |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
console.error(e); |
|
|
|
_global.console && console.error(e); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -28463,7 +28463,7 @@ BI.extend(BI.DOM, { |
|
|
|
try { |
|
|
|
try { |
|
|
|
act.apply(null, args); |
|
|
|
act.apply(null, args); |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
console.error(e); |
|
|
|
_global.console && console.error(e); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|