Browse Source

Pull request #1642: 无JIRA任务 提供一个BI.getDOMNode方法,替换之前的BI.Plugin.registObject

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '45b63ceaa4fdc2d940f94ca3051505395af94e21':
  提供一个BI.getDOMNode方法,替换之前的BI.Plugin.registObject
es6
guy 4 years ago
parent
commit
dad2b73b56
  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