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