Browse Source

提供一个BI.getDOMNode方法,替换之前的BI.Plugin.registObject

es6
guy 4 years ago
parent
commit
45b63ceaa4
  1. 4
      src/core/inject.js

4
src/core/inject.js

@ -92,6 +92,10 @@
configFunctions[type].push(configFn); configFunctions[type].push(configFn);
}; };
BI.getDOMNode = BI.getDOMNode || function (type, fn) {
return BI.Plugin.registerObject(type, fn);
};
var actions = {}; var actions = {};
var globalAction = []; var globalAction = [];
BI.action = BI.action || function (type, actionFn) { BI.action = BI.action || function (type, actionFn) {

Loading…
Cancel
Save