Browse Source

update

master
guy 6 years ago
parent
commit
919c208076
  1. 20
      dist/bundle.js
  2. 18
      dist/bundle.min.js
  3. 20
      dist/core.js
  4. 20
      dist/fineui.js
  5. 18
      dist/fineui.min.js
  6. 20
      dist/fineui_without_jquery_polyfill.js
  7. 18
      dist/utils.js
  8. 2
      dist/utils.min.js
  9. 18
      src/core/inject.js
  10. 2
      src/core/shortcut.js

20
dist/bundle.js vendored

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

18
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/core.js vendored

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

20
dist/fineui.js vendored

@ -22094,7 +22094,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;
}; };
@ -28494,7 +28494,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;
}; };
@ -28502,7 +28502,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;
}; };
@ -28510,7 +28510,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;
}; };
@ -28518,7 +28518,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;
}; };
@ -28526,7 +28526,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;
}; };
@ -28596,7 +28596,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);
} }
} }
}; };
@ -28610,7 +28610,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);
} }
} }
}; };
@ -28674,7 +28674,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);
} }
}); });
}, },
@ -28684,7 +28684,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);
} }
}); });
} }

18
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/fineui_without_jquery_polyfill.js vendored

@ -12258,7 +12258,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;
}; };
@ -18067,7 +18067,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;
}; };
@ -18075,7 +18075,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;
}; };
@ -18083,7 +18083,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;
}; };
@ -18091,7 +18091,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;
}; };
@ -18099,7 +18099,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;
}; };
@ -18169,7 +18169,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);
} }
} }
}; };
@ -18183,7 +18183,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);
} }
} }
}; };
@ -18247,7 +18247,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);
} }
}); });
}, },
@ -18257,7 +18257,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);
} }
}); });
} }

18
dist/utils.js vendored

@ -13506,7 +13506,7 @@ _.extend(BI.OB.prototype, {
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;
}; };
@ -13514,7 +13514,7 @@ _.extend(BI.OB.prototype, {
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;
}; };
@ -13522,7 +13522,7 @@ _.extend(BI.OB.prototype, {
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;
}; };
@ -13530,7 +13530,7 @@ _.extend(BI.OB.prototype, {
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;
}; };
@ -13538,7 +13538,7 @@ _.extend(BI.OB.prototype, {
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;
}; };
@ -13608,7 +13608,7 @@ _.extend(BI.OB.prototype, {
try { try {
bfns[i].apply(inst, arguments); bfns[i].apply(inst, arguments);
} catch (e) { } catch (e) {
console.error(e); _global.console && console.error(e);
} }
} }
}; };
@ -13622,7 +13622,7 @@ _.extend(BI.OB.prototype, {
try { try {
afns[i].apply(inst, arguments); afns[i].apply(inst, arguments);
} catch (e) { } catch (e) {
console.error(e); _global.console && console.error(e);
} }
} }
}; };
@ -13686,7 +13686,7 @@ _.extend(BI.OB.prototype, {
try { try {
act(event, config); act(event, config);
} catch (e) { } catch (e) {
console.error(e); _global.console && console.error(e);
} }
}); });
}, },
@ -13696,7 +13696,7 @@ _.extend(BI.OB.prototype, {
try { try {
act.apply(null, args); act.apply(null, args);
} catch (e) { } catch (e) {
console.error(e); _global.console && console.error(e);
} }
}); });
} }

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

18
src/core/inject.js

@ -2,7 +2,7 @@
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;
}; };
@ -10,7 +10,7 @@
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;
}; };
@ -18,7 +18,7 @@
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;
}; };
@ -26,7 +26,7 @@
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;
}; };
@ -34,7 +34,7 @@
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;
}; };
@ -104,7 +104,7 @@
try { try {
bfns[i].apply(inst, arguments); bfns[i].apply(inst, arguments);
} catch (e) { } catch (e) {
console.error(e); _global.console && console.error(e);
} }
} }
}; };
@ -118,7 +118,7 @@
try { try {
afns[i].apply(inst, arguments); afns[i].apply(inst, arguments);
} catch (e) { } catch (e) {
console.error(e); _global.console && console.error(e);
} }
} }
}; };
@ -182,7 +182,7 @@
try { try {
act(event, config); act(event, config);
} catch (e) { } catch (e) {
console.error(e); _global.console && console.error(e);
} }
}); });
}, },
@ -192,7 +192,7 @@
try { try {
act.apply(null, args); act.apply(null, args);
} catch (e) { } catch (e) {
console.error(e); _global.console && console.error(e);
} }
}); });
} }

2
src/core/shortcut.js

@ -2,7 +2,7 @@
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;
}; };

Loading…
Cancel
Save