guy 6 years ago
parent
commit
aa7a9dd64b
  1. 39
      dist/bundle.js
  2. 6
      dist/bundle.min.js
  3. 39
      dist/core.js
  4. 39
      dist/fineui.js
  5. 4
      dist/fineui.min.js
  6. 39
      dist/fineui_without_jquery_polyfill.js
  7. 39
      dist/utils.js
  8. 4
      dist/utils.min.js
  9. 39
      src/core/ob.js

39
dist/bundle.js vendored

@ -11478,21 +11478,45 @@ if (!_global.BI) {
}
});
})();/**
})();!(function () {
function extend () {
var target = arguments[0] || {}, length = arguments.length, i = 1, options, name, src, copy;
for (; i < length; i++) {
// Only deal with non-null/undefined values
if ((options = arguments[i]) != null) {
// Extend the base object
for (name in options) {
src = target[name];
copy = options[name];
// Prevent never-ending loop
if (target === copy) {
continue;
}
if (copy !== undefined) {
target[name] = copy;
}
}
}
}
}
/**
* 客户端观察者主要处理事件的添加删除执行等
* @class BI.OB
* @abstract
*/
BI.OB = function (config) {
BI.OB = function (config) {
var props = this.props;
if (BI.isFunction(this.props)) {
props = this.props(config);
}
this.options = (_global.$ || _global._).extend(this._defaultConfig(config), props, config);
this.options = extend(this._defaultConfig(config), props, config);
this._init();
this._initRef();
};
_.extend(BI.OB.prototype, {
};
_.extend(BI.OB.prototype, {
props: {},
init: null,
destroyed: null,
@ -11525,7 +11549,7 @@ _.extend(BI.OB.prototype, {
},
//释放当前对象
_purgeRef: function(){
_purgeRef: function () {
if (this.options.ref) {
this.options.ref.call(null);
}
@ -11629,7 +11653,8 @@ _.extend(BI.OB.prototype, {
this._purgeRef();
this.purgeListeners();
}
});/**
});
})();/**
* Widget超类
* @class BI.Widget
* @extends BI.OB

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

39
dist/core.js vendored

@ -11478,21 +11478,45 @@ if (!_global.BI) {
}
});
})();/**
})();!(function () {
function extend () {
var target = arguments[0] || {}, length = arguments.length, i = 1, options, name, src, copy;
for (; i < length; i++) {
// Only deal with non-null/undefined values
if ((options = arguments[i]) != null) {
// Extend the base object
for (name in options) {
src = target[name];
copy = options[name];
// Prevent never-ending loop
if (target === copy) {
continue;
}
if (copy !== undefined) {
target[name] = copy;
}
}
}
}
}
/**
* 客户端观察者主要处理事件的添加删除执行等
* @class BI.OB
* @abstract
*/
BI.OB = function (config) {
BI.OB = function (config) {
var props = this.props;
if (BI.isFunction(this.props)) {
props = this.props(config);
}
this.options = (_global.$ || _global._).extend(this._defaultConfig(config), props, config);
this.options = extend(this._defaultConfig(config), props, config);
this._init();
this._initRef();
};
_.extend(BI.OB.prototype, {
};
_.extend(BI.OB.prototype, {
props: {},
init: null,
destroyed: null,
@ -11525,7 +11549,7 @@ _.extend(BI.OB.prototype, {
},
//释放当前对象
_purgeRef: function(){
_purgeRef: function () {
if (this.options.ref) {
this.options.ref.call(null);
}
@ -11629,7 +11653,8 @@ _.extend(BI.OB.prototype, {
this._purgeRef();
this.purgeListeners();
}
});/**
});
})();/**
* Widget超类
* @class BI.Widget
* @extends BI.OB

39
dist/fineui.js vendored

@ -11720,21 +11720,45 @@ if (!_global.BI) {
}
});
})();/**
})();!(function () {
function extend () {
var target = arguments[0] || {}, length = arguments.length, i = 1, options, name, src, copy;
for (; i < length; i++) {
// Only deal with non-null/undefined values
if ((options = arguments[i]) != null) {
// Extend the base object
for (name in options) {
src = target[name];
copy = options[name];
// Prevent never-ending loop
if (target === copy) {
continue;
}
if (copy !== undefined) {
target[name] = copy;
}
}
}
}
}
/**
* 客户端观察者主要处理事件的添加删除执行等
* @class BI.OB
* @abstract
*/
BI.OB = function (config) {
BI.OB = function (config) {
var props = this.props;
if (BI.isFunction(this.props)) {
props = this.props(config);
}
this.options = (_global.$ || _global._).extend(this._defaultConfig(config), props, config);
this.options = extend(this._defaultConfig(config), props, config);
this._init();
this._initRef();
};
_.extend(BI.OB.prototype, {
};
_.extend(BI.OB.prototype, {
props: {},
init: null,
destroyed: null,
@ -11767,7 +11791,7 @@ _.extend(BI.OB.prototype, {
},
//释放当前对象
_purgeRef: function(){
_purgeRef: function () {
if (this.options.ref) {
this.options.ref.call(null);
}
@ -11871,7 +11895,8 @@ _.extend(BI.OB.prototype, {
this._purgeRef();
this.purgeListeners();
}
});/**
});
})();/**
* Widget超类
* @class BI.Widget
* @extends BI.OB

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

39
dist/fineui_without_jquery_polyfill.js vendored

@ -11478,21 +11478,45 @@ if (!_global.BI) {
}
});
})();/**
})();!(function () {
function extend () {
var target = arguments[0] || {}, length = arguments.length, i = 1, options, name, src, copy;
for (; i < length; i++) {
// Only deal with non-null/undefined values
if ((options = arguments[i]) != null) {
// Extend the base object
for (name in options) {
src = target[name];
copy = options[name];
// Prevent never-ending loop
if (target === copy) {
continue;
}
if (copy !== undefined) {
target[name] = copy;
}
}
}
}
}
/**
* 客户端观察者主要处理事件的添加删除执行等
* @class BI.OB
* @abstract
*/
BI.OB = function (config) {
BI.OB = function (config) {
var props = this.props;
if (BI.isFunction(this.props)) {
props = this.props(config);
}
this.options = (_global.$ || _global._).extend(this._defaultConfig(config), props, config);
this.options = extend(this._defaultConfig(config), props, config);
this._init();
this._initRef();
};
_.extend(BI.OB.prototype, {
};
_.extend(BI.OB.prototype, {
props: {},
init: null,
destroyed: null,
@ -11525,7 +11549,7 @@ _.extend(BI.OB.prototype, {
},
//释放当前对象
_purgeRef: function(){
_purgeRef: function () {
if (this.options.ref) {
this.options.ref.call(null);
}
@ -11629,7 +11653,8 @@ _.extend(BI.OB.prototype, {
this._purgeRef();
this.purgeListeners();
}
});/**
});
})();/**
* Widget超类
* @class BI.Widget
* @extends BI.OB

39
dist/utils.js vendored

@ -12237,21 +12237,45 @@ if (!_global.BI) {
}
});
})();/**
})();!(function () {
function extend () {
var target = arguments[0] || {}, length = arguments.length, i = 1, options, name, src, copy;
for (; i < length; i++) {
// Only deal with non-null/undefined values
if ((options = arguments[i]) != null) {
// Extend the base object
for (name in options) {
src = target[name];
copy = options[name];
// Prevent never-ending loop
if (target === copy) {
continue;
}
if (copy !== undefined) {
target[name] = copy;
}
}
}
}
}
/**
* 客户端观察者主要处理事件的添加删除执行等
* @class BI.OB
* @abstract
*/
BI.OB = function (config) {
BI.OB = function (config) {
var props = this.props;
if (BI.isFunction(this.props)) {
props = this.props(config);
}
this.options = (_global.$ || _global._).extend(this._defaultConfig(config), props, config);
this.options = extend(this._defaultConfig(config), props, config);
this._init();
this._initRef();
};
_.extend(BI.OB.prototype, {
};
_.extend(BI.OB.prototype, {
props: {},
init: null,
destroyed: null,
@ -12284,7 +12308,7 @@ _.extend(BI.OB.prototype, {
},
//释放当前对象
_purgeRef: function(){
_purgeRef: function () {
if (this.options.ref) {
this.options.ref.call(null);
}
@ -12388,7 +12412,8 @@ _.extend(BI.OB.prototype, {
this._purgeRef();
this.purgeListeners();
}
});(function () {
});
})();(function () {
var _global;
if (typeof window !== "undefined") {
_global = window;

4
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

39
src/core/ob.js

@ -1,18 +1,42 @@
/**
!(function () {
function extend () {
var target = arguments[0] || {}, length = arguments.length, i = 1, options, name, src, copy;
for (; i < length; i++) {
// Only deal with non-null/undefined values
if ((options = arguments[i]) != null) {
// Extend the base object
for (name in options) {
src = target[name];
copy = options[name];
// Prevent never-ending loop
if (target === copy) {
continue;
}
if (copy !== undefined) {
target[name] = copy;
}
}
}
}
}
/**
* 客户端观察者主要处理事件的添加删除执行等
* @class BI.OB
* @abstract
*/
BI.OB = function (config) {
BI.OB = function (config) {
var props = this.props;
if (BI.isFunction(this.props)) {
props = this.props(config);
}
this.options = (_global.$ || _global._).extend(this._defaultConfig(config), props, config);
this.options = extend(this._defaultConfig(config), props, config);
this._init();
this._initRef();
};
_.extend(BI.OB.prototype, {
};
_.extend(BI.OB.prototype, {
props: {},
init: null,
destroyed: null,
@ -45,7 +69,7 @@ _.extend(BI.OB.prototype, {
},
//释放当前对象
_purgeRef: function(){
_purgeRef: function () {
if (this.options.ref) {
this.options.ref.call(null);
}
@ -149,4 +173,5 @@ _.extend(BI.OB.prototype, {
this._purgeRef();
this.purgeListeners();
}
});
});
})();
Loading…
Cancel
Save