Browse Source

Merge pull request #669 in VISUAL/fineui from ~GUY/fineui:master to master

* commit '96f0445a0452a9dff3bc911abd03c44f7eda3441':
  update
  update
es6
guy 6 years ago
parent
commit
79523af80a
  1. 9
      dist/bundle.js
  2. 4
      dist/bundle.min.js
  3. 9
      dist/core.js
  4. 9
      dist/fineui.js
  5. 4
      dist/fineui.min.js
  6. 9
      dist/fineui_without_jquery_polyfill.js
  7. 2
      dist/utils.min.js
  8. 9
      src/core/widget.js

9
dist/bundle.js vendored

@ -12125,13 +12125,16 @@ _.extend(BI.OB.prototype, {
BI.mount = function (widget, container, predicate, hydrate) {
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
var ws = w.element.data("__widgets");
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
ws.push(child);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/core.js vendored

@ -12125,13 +12125,16 @@ _.extend(BI.OB.prototype, {
BI.mount = function (widget, container, predicate, hydrate) {
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
var ws = w.element.data("__widgets");
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
ws.push(child);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上

9
dist/fineui.js vendored

@ -12367,13 +12367,16 @@ _.extend(BI.OB.prototype, {
BI.mount = function (widget, container, predicate, hydrate) {
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
var ws = w.element.data("__widgets");
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
ws.push(child);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/fineui_without_jquery_polyfill.js vendored

@ -12125,13 +12125,16 @@ _.extend(BI.OB.prototype, {
BI.mount = function (widget, container, predicate, hydrate) {
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
var ws = w.element.data("__widgets");
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
ws.push(child);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

9
src/core/widget.js

@ -494,13 +494,16 @@
BI.mount = function (widget, container, predicate, hydrate) {
if (hydrate === true) {
// 将widget的element元素都挂载好,并建立相互关系
widget.element.data("__widgets", [widget]);
var res = widget._mount(true, false, false, function (w) {
var ws = w.element.data("__widgets");
BI.each(w._children, function (i, child) {
var ws = child.element.data("__widgets");
if (!ws) {
ws = [];
}
ws.push(w);
w.element.data("__widgets", ws);
ws.push(child);
child.element.data("__widgets", ws);
});
predicate && predicate.apply(this, arguments);
});
// 将新的dom树属性(事件等)patch到已存在的dom上

Loading…
Cancel
Save