guy 7 years ago
parent
commit
73698055cf
  1. 22
      dist/_fineui.min.js
  2. 24
      dist/bundle.js
  3. 22
      dist/bundle.min.js
  4. 24
      dist/core.js
  5. 22
      dist/fineui.min.js
  6. 22
      src/core/inject.js
  7. 2
      src/core/shortcut.js
  8. 22
      utils/utils.js

22
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/bundle.js vendored

@ -21706,7 +21706,7 @@ BI.Widget = BI.inherit(BI.OB, {
var kv = {};
BI.shortcut = function (xtype, cls) {
if (kv[xtype] != null) {
throw ("shortcut:[" + xtype + "] has been registed");
console.error("shortcut:[" + xtype + "] has been registed");
}
kv[xtype] = cls;
};
@ -28740,7 +28740,7 @@ BI.extend(BI.DOM, {
var constantInjection = {};
BI.constant = function (xtype, cls) {
if (constantInjection[xtype] != null) {
throw ("constant:[" + xtype + "] has been registed");
console.error("constant:[" + xtype + "] has been registed");
}
constantInjection[xtype] = cls;
};
@ -28748,7 +28748,7 @@ BI.extend(BI.DOM, {
var modelInjection = {};
BI.model = function (xtype, cls) {
if (modelInjection[xtype] != null) {
throw ("model:[" + xtype + "] has been registed");
console.error("model:[" + xtype + "] has been registed");
}
modelInjection[xtype] = cls;
};
@ -28756,7 +28756,7 @@ BI.extend(BI.DOM, {
var storeInjection = {};
BI.store = function (xtype, cls) {
if (storeInjection[xtype] != null) {
throw ("store:[" + xtype + "] has been registed");
console.error("store:[" + xtype + "] has been registed");
}
storeInjection[xtype] = cls;
};
@ -28764,7 +28764,7 @@ BI.extend(BI.DOM, {
var serviceInjection = {};
BI.service = function (xtype, cls) {
if (serviceInjection[xtype] != null) {
throw ("service:[" + xtype + "] has been registed");
console.error("service:[" + xtype + "] has been registed");
}
serviceInjection[xtype] = cls;
};
@ -28772,7 +28772,7 @@ BI.extend(BI.DOM, {
var providerInjection = {};
BI.provider = function (xtype, cls) {
if (providerInjection[xtype] != null) {
throw ("provider:[" + xtype + "] has been registed");
console.error("provider:[" + xtype + "] has been registed");
}
providerInjection[xtype] = cls;
};
@ -28917,13 +28917,21 @@ BI.extend(BI.DOM, {
BI.Actions = {
runAction: function (type, config) {
BI.each(actions[type], function (i, act) {
act(config);
try {
act(config);
} catch (e) {
console.error(e);
}
});
},
runGlobalAction: function () {
var args = [].slice.call(arguments);
BI.each(globalAction, function (i, act) {
act.apply(null, args);
try {
act.apply(null, args);
} catch (e) {
console.error(e);
}
});
}
};

22
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/core.js vendored

@ -21706,7 +21706,7 @@ BI.Widget = BI.inherit(BI.OB, {
var kv = {};
BI.shortcut = function (xtype, cls) {
if (kv[xtype] != null) {
throw ("shortcut:[" + xtype + "] has been registed");
console.error("shortcut:[" + xtype + "] has been registed");
}
kv[xtype] = cls;
};
@ -28740,7 +28740,7 @@ BI.extend(BI.DOM, {
var constantInjection = {};
BI.constant = function (xtype, cls) {
if (constantInjection[xtype] != null) {
throw ("constant:[" + xtype + "] has been registed");
console.error("constant:[" + xtype + "] has been registed");
}
constantInjection[xtype] = cls;
};
@ -28748,7 +28748,7 @@ BI.extend(BI.DOM, {
var modelInjection = {};
BI.model = function (xtype, cls) {
if (modelInjection[xtype] != null) {
throw ("model:[" + xtype + "] has been registed");
console.error("model:[" + xtype + "] has been registed");
}
modelInjection[xtype] = cls;
};
@ -28756,7 +28756,7 @@ BI.extend(BI.DOM, {
var storeInjection = {};
BI.store = function (xtype, cls) {
if (storeInjection[xtype] != null) {
throw ("store:[" + xtype + "] has been registed");
console.error("store:[" + xtype + "] has been registed");
}
storeInjection[xtype] = cls;
};
@ -28764,7 +28764,7 @@ BI.extend(BI.DOM, {
var serviceInjection = {};
BI.service = function (xtype, cls) {
if (serviceInjection[xtype] != null) {
throw ("service:[" + xtype + "] has been registed");
console.error("service:[" + xtype + "] has been registed");
}
serviceInjection[xtype] = cls;
};
@ -28772,7 +28772,7 @@ BI.extend(BI.DOM, {
var providerInjection = {};
BI.provider = function (xtype, cls) {
if (providerInjection[xtype] != null) {
throw ("provider:[" + xtype + "] has been registed");
console.error("provider:[" + xtype + "] has been registed");
}
providerInjection[xtype] = cls;
};
@ -28917,13 +28917,21 @@ BI.extend(BI.DOM, {
BI.Actions = {
runAction: function (type, config) {
BI.each(actions[type], function (i, act) {
act(config);
try {
act(config);
} catch (e) {
console.error(e);
}
});
},
runGlobalAction: function () {
var args = [].slice.call(arguments);
BI.each(globalAction, function (i, act) {
act.apply(null, args);
try {
act.apply(null, args);
} catch (e) {
console.error(e);
}
});
}
};

22
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

22
src/core/inject.js

@ -2,7 +2,7 @@
var constantInjection = {};
BI.constant = function (xtype, cls) {
if (constantInjection[xtype] != null) {
throw ("constant:[" + xtype + "] has been registed");
console.error("constant:[" + xtype + "] has been registed");
}
constantInjection[xtype] = cls;
};
@ -10,7 +10,7 @@
var modelInjection = {};
BI.model = function (xtype, cls) {
if (modelInjection[xtype] != null) {
throw ("model:[" + xtype + "] has been registed");
console.error("model:[" + xtype + "] has been registed");
}
modelInjection[xtype] = cls;
};
@ -18,7 +18,7 @@
var storeInjection = {};
BI.store = function (xtype, cls) {
if (storeInjection[xtype] != null) {
throw ("store:[" + xtype + "] has been registed");
console.error("store:[" + xtype + "] has been registed");
}
storeInjection[xtype] = cls;
};
@ -26,7 +26,7 @@
var serviceInjection = {};
BI.service = function (xtype, cls) {
if (serviceInjection[xtype] != null) {
throw ("service:[" + xtype + "] has been registed");
console.error("service:[" + xtype + "] has been registed");
}
serviceInjection[xtype] = cls;
};
@ -34,7 +34,7 @@
var providerInjection = {};
BI.provider = function (xtype, cls) {
if (providerInjection[xtype] != null) {
throw ("provider:[" + xtype + "] has been registed");
console.error("provider:[" + xtype + "] has been registed");
}
providerInjection[xtype] = cls;
};
@ -179,13 +179,21 @@
BI.Actions = {
runAction: function (type, config) {
BI.each(actions[type], function (i, act) {
act(config);
try {
act(config);
} catch (e) {
console.error(e);
}
});
},
runGlobalAction: function () {
var args = [].slice.call(arguments);
BI.each(globalAction, function (i, act) {
act.apply(null, args);
try {
act.apply(null, args);
} catch (e) {
console.error(e);
}
});
}
};

2
src/core/shortcut.js

@ -2,7 +2,7 @@
var kv = {};
BI.shortcut = function (xtype, cls) {
if (kv[xtype] != null) {
throw ("shortcut:[" + xtype + "] has been registed");
console.error("shortcut:[" + xtype + "] has been registed");
}
kv[xtype] = cls;
};

22
utils/utils.js

@ -13188,7 +13188,7 @@ _.extend(BI.OB.prototype, {
var constantInjection = {};
BI.constant = function (xtype, cls) {
if (constantInjection[xtype] != null) {
throw ("constant:[" + xtype + "] has been registed");
console.error("constant:[" + xtype + "] has been registed");
}
constantInjection[xtype] = cls;
};
@ -13196,7 +13196,7 @@ _.extend(BI.OB.prototype, {
var modelInjection = {};
BI.model = function (xtype, cls) {
if (modelInjection[xtype] != null) {
throw ("model:[" + xtype + "] has been registed");
console.error("model:[" + xtype + "] has been registed");
}
modelInjection[xtype] = cls;
};
@ -13204,7 +13204,7 @@ _.extend(BI.OB.prototype, {
var storeInjection = {};
BI.store = function (xtype, cls) {
if (storeInjection[xtype] != null) {
throw ("store:[" + xtype + "] has been registed");
console.error("store:[" + xtype + "] has been registed");
}
storeInjection[xtype] = cls;
};
@ -13212,7 +13212,7 @@ _.extend(BI.OB.prototype, {
var serviceInjection = {};
BI.service = function (xtype, cls) {
if (serviceInjection[xtype] != null) {
throw ("service:[" + xtype + "] has been registed");
console.error("service:[" + xtype + "] has been registed");
}
serviceInjection[xtype] = cls;
};
@ -13220,7 +13220,7 @@ _.extend(BI.OB.prototype, {
var providerInjection = {};
BI.provider = function (xtype, cls) {
if (providerInjection[xtype] != null) {
throw ("provider:[" + xtype + "] has been registed");
console.error("provider:[" + xtype + "] has been registed");
}
providerInjection[xtype] = cls;
};
@ -13365,13 +13365,21 @@ _.extend(BI.OB.prototype, {
BI.Actions = {
runAction: function (type, config) {
BI.each(actions[type], function (i, act) {
act(config);
try {
act(config);
} catch (e) {
console.error(e);
}
});
},
runGlobalAction: function () {
var args = [].slice.call(arguments);
BI.each(globalAction, function (i, act) {
act.apply(null, args);
try {
act.apply(null, args);
} catch (e) {
console.error(e);
}
});
}
};

Loading…
Cancel
Save