guy 6 years ago
parent
commit
9ef68ff58a
  1. 23
      dist/bundle.js
  2. 4
      dist/bundle.min.js
  3. 23
      dist/core.js
  4. 23
      dist/fineui.js
  5. 4
      dist/fineui.min.js
  6. 23
      dist/fineui_without_jquery_polyfill.js
  7. 2
      dist/utils.min.js
  8. 2
      src/core/shortcut.js
  9. 21
      src/core/widget.js

23
dist/bundle.js vendored

@ -12123,15 +12123,18 @@ _.extend(BI.OB.prototype, {
});
BI.mount = function (widget, container, predicate, hydrate) {
if(hydrate === true){
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
var res = widget._mount(true, false, false, function(w){
var ws = w.element.data("__widgets");
if(!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上
@ -12145,7 +12148,7 @@ _.extend(BI.OB.prototype, {
triggerLifeHook(child);
});
};
//最后触发组件树生命周期函数
// 最后触发组件树生命周期函数
triggerLifeHook(widget);
return res;
}
@ -12175,7 +12178,7 @@ _.extend(BI.OB.prototype, {
BI.createWidget = function (item, options, context) {
// 先把准备环境准备好
while(BI.prepares && BI.prepares.length > 0) {
while (BI.prepares && BI.prepares.length > 0) {
BI.prepares.shift()();
}
var el, w;

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

23
dist/core.js vendored

@ -12123,15 +12123,18 @@ _.extend(BI.OB.prototype, {
});
BI.mount = function (widget, container, predicate, hydrate) {
if(hydrate === true){
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
var res = widget._mount(true, false, false, function(w){
var ws = w.element.data("__widgets");
if(!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上
@ -12145,7 +12148,7 @@ _.extend(BI.OB.prototype, {
triggerLifeHook(child);
});
};
//最后触发组件树生命周期函数
// 最后触发组件树生命周期函数
triggerLifeHook(widget);
return res;
}
@ -12175,7 +12178,7 @@ _.extend(BI.OB.prototype, {
BI.createWidget = function (item, options, context) {
// 先把准备环境准备好
while(BI.prepares && BI.prepares.length > 0) {
while (BI.prepares && BI.prepares.length > 0) {
BI.prepares.shift()();
}
var el, w;

23
dist/fineui.js vendored

@ -12365,15 +12365,18 @@ _.extend(BI.OB.prototype, {
});
BI.mount = function (widget, container, predicate, hydrate) {
if(hydrate === true){
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
var res = widget._mount(true, false, false, function(w){
var ws = w.element.data("__widgets");
if(!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上
@ -12387,7 +12390,7 @@ _.extend(BI.OB.prototype, {
triggerLifeHook(child);
});
};
//最后触发组件树生命周期函数
// 最后触发组件树生命周期函数
triggerLifeHook(widget);
return res;
}
@ -12417,7 +12420,7 @@ _.extend(BI.OB.prototype, {
BI.createWidget = function (item, options, context) {
// 先把准备环境准备好
while(BI.prepares && BI.prepares.length > 0) {
while (BI.prepares && BI.prepares.length > 0) {
BI.prepares.shift()();
}
var el, w;

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

23
dist/fineui_without_jquery_polyfill.js vendored

@ -12123,15 +12123,18 @@ _.extend(BI.OB.prototype, {
});
BI.mount = function (widget, container, predicate, hydrate) {
if(hydrate === true){
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
var res = widget._mount(true, false, false, function(w){
var ws = w.element.data("__widgets");
if(!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上
@ -12145,7 +12148,7 @@ _.extend(BI.OB.prototype, {
triggerLifeHook(child);
});
};
//最后触发组件树生命周期函数
// 最后触发组件树生命周期函数
triggerLifeHook(widget);
return res;
}
@ -12175,7 +12178,7 @@ _.extend(BI.OB.prototype, {
BI.createWidget = function (item, options, context) {
// 先把准备环境准备好
while(BI.prepares && BI.prepares.length > 0) {
while (BI.prepares && BI.prepares.length > 0) {
BI.prepares.shift()();
}
var el, w;

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
src/core/shortcut.js

@ -19,7 +19,7 @@
BI.createWidget = function (item, options, context) {
// 先把准备环境准备好
while(BI.prepares && BI.prepares.length > 0) {
while (BI.prepares && BI.prepares.length > 0) {
BI.prepares.shift()();
}
var el, w;

21
src/core/widget.js

@ -492,15 +492,18 @@
});
BI.mount = function (widget, container, predicate, hydrate) {
if(hydrate === true){
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
var res = widget._mount(true, false, false, function(w){
var ws = w.element.data("__widgets");
if(!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上
@ -514,7 +517,7 @@
triggerLifeHook(child);
});
};
//最后触发组件树生命周期函数
// 最后触发组件树生命周期函数
triggerLifeHook(widget);
return res;
}

Loading…
Cancel
Save