Browse Source

Merge pull request #51 in ~GUY/fineui from ~YOUNG/fineuig:master to master

* commit '9e7276f9794cddf22a4883e04cffd873c70fc6fe':
  function
es6
Young 8 years ago
parent
commit
d7cf5181c6
  1. 16
      src/core/func/function.js

16
src/core/func/function.js

@ -2,10 +2,8 @@
* 基本的函数
* Created by GUY on 2015/6/24.
*/
$(function () {
BI.Func = {};
var formulas = {};
BI.extend(BI.Func, {
BI.Func = {};
BI.extend(BI.Func, {
/**
* 获取搜索结果
@ -24,7 +22,6 @@ $(function () {
};
}
var t, text, py;
keyword = keyword + "";
keyword = BI.toUpperCase(keyword);
var matched = isArray ? [] : {}, finded = isArray ? [] : {};
BI.each(items, function (i, item) {
@ -54,14 +51,14 @@ $(function () {
finded: finded
}
},
});
});
/**
/**
* 对DOM操作的通用函数
* @type {{}}
*/
BI.DOM = {};
BI.extend(BI.DOM, {
BI.DOM = {};
BI.extend(BI.DOM, {
/**
* 把dom数组或元素悬挂起来,使其不对html产生影响
@ -279,5 +276,4 @@ $(function () {
}
return this._scrollWidth;
}
});
});
Loading…
Cancel
Save