Browse Source

update

master
guy 6 years ago
parent
commit
0f331d3b53
  1. 10
      dist/bundle.js
  2. 66
      dist/bundle.min.js
  3. 10
      dist/core.js
  4. 10
      dist/fineui.js
  5. 66
      dist/fineui.min.js
  6. 10
      dist/fineui_without_jquery_polyfill.js
  7. 2
      dist/utils.min.js
  8. 10
      src/core/wrapper/layout.js

10
dist/bundle.js vendored

@ -24783,7 +24783,7 @@ BI.Layout = BI.inherit(BI.Widget, {
this._children = {};
BI.each(newCh, function (i, child) {
var node = self._getOptions(child);
var key = node.key == null ? i : node.key;
var key = node.key == null ? self._getChildName(i) : node.key;
children[key]._mount();
self._children[self._getChildName(i)] = children[key];
});
@ -24801,7 +24801,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function addNode (vnode, index) {
var opt = self._getOptions(vnode);
var key = opt.key == null ? index : opt.key;
var key = opt.key == null ? self._getChildName(index) : opt.key;
return children[key] = self._addElement(key, vnode);
}
@ -24815,7 +24815,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function removeVnodes (vnodes, startIdx, endIdx) {
for (; startIdx <= endIdx; ++startIdx) {
var node = self._getOptions(vnodes[startIdx]);
var key = node.key == null ? startIdx : node.key;
var key = node.key == null ? self._getChildName(startIdx) : node.key;
children[key]._destroy();
}
}
@ -24823,9 +24823,9 @@ BI.Layout = BI.inherit(BI.Widget, {
function insertBefore (insert, before, isNext, index) {
insert = self._getOptions(insert);
before = before && self._getOptions(before);
var insertKey = BI.isKey(insert.key) ? insert.key : index;
var insertKey = BI.isKey(insert.key) ? insert.key : self._getChildName(index);
if (before && children[before.key]) {
var beforeKey = BI.isKey(before.key) ? before.key : index;
var beforeKey = BI.isKey(before.key) ? before.key : self._getChildName(index);
var next;
if (isNext) {
next = children[beforeKey].element.next();

66
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

10
dist/core.js vendored

@ -24783,7 +24783,7 @@ BI.Layout = BI.inherit(BI.Widget, {
this._children = {};
BI.each(newCh, function (i, child) {
var node = self._getOptions(child);
var key = node.key == null ? i : node.key;
var key = node.key == null ? self._getChildName(i) : node.key;
children[key]._mount();
self._children[self._getChildName(i)] = children[key];
});
@ -24801,7 +24801,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function addNode (vnode, index) {
var opt = self._getOptions(vnode);
var key = opt.key == null ? index : opt.key;
var key = opt.key == null ? self._getChildName(index) : opt.key;
return children[key] = self._addElement(key, vnode);
}
@ -24815,7 +24815,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function removeVnodes (vnodes, startIdx, endIdx) {
for (; startIdx <= endIdx; ++startIdx) {
var node = self._getOptions(vnodes[startIdx]);
var key = node.key == null ? startIdx : node.key;
var key = node.key == null ? self._getChildName(startIdx) : node.key;
children[key]._destroy();
}
}
@ -24823,9 +24823,9 @@ BI.Layout = BI.inherit(BI.Widget, {
function insertBefore (insert, before, isNext, index) {
insert = self._getOptions(insert);
before = before && self._getOptions(before);
var insertKey = BI.isKey(insert.key) ? insert.key : index;
var insertKey = BI.isKey(insert.key) ? insert.key : self._getChildName(index);
if (before && children[before.key]) {
var beforeKey = BI.isKey(before.key) ? before.key : index;
var beforeKey = BI.isKey(before.key) ? before.key : self._getChildName(index);
var next;
if (isNext) {
next = children[beforeKey].element.next();

10
dist/fineui.js vendored

@ -25022,7 +25022,7 @@ BI.Layout = BI.inherit(BI.Widget, {
this._children = {};
BI.each(newCh, function (i, child) {
var node = self._getOptions(child);
var key = node.key == null ? i : node.key;
var key = node.key == null ? self._getChildName(i) : node.key;
children[key]._mount();
self._children[self._getChildName(i)] = children[key];
});
@ -25040,7 +25040,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function addNode (vnode, index) {
var opt = self._getOptions(vnode);
var key = opt.key == null ? index : opt.key;
var key = opt.key == null ? self._getChildName(index) : opt.key;
return children[key] = self._addElement(key, vnode);
}
@ -25054,7 +25054,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function removeVnodes (vnodes, startIdx, endIdx) {
for (; startIdx <= endIdx; ++startIdx) {
var node = self._getOptions(vnodes[startIdx]);
var key = node.key == null ? startIdx : node.key;
var key = node.key == null ? self._getChildName(startIdx) : node.key;
children[key]._destroy();
}
}
@ -25062,9 +25062,9 @@ BI.Layout = BI.inherit(BI.Widget, {
function insertBefore (insert, before, isNext, index) {
insert = self._getOptions(insert);
before = before && self._getOptions(before);
var insertKey = BI.isKey(insert.key) ? insert.key : index;
var insertKey = BI.isKey(insert.key) ? insert.key : self._getChildName(index);
if (before && children[before.key]) {
var beforeKey = BI.isKey(before.key) ? before.key : index;
var beforeKey = BI.isKey(before.key) ? before.key : self._getChildName(index);
var next;
if (isNext) {
next = children[beforeKey].element.next();

66
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

10
dist/fineui_without_jquery_polyfill.js vendored

@ -15168,7 +15168,7 @@ BI.Layout = BI.inherit(BI.Widget, {
this._children = {};
BI.each(newCh, function (i, child) {
var node = self._getOptions(child);
var key = node.key == null ? i : node.key;
var key = node.key == null ? self._getChildName(i) : node.key;
children[key]._mount();
self._children[self._getChildName(i)] = children[key];
});
@ -15186,7 +15186,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function addNode (vnode, index) {
var opt = self._getOptions(vnode);
var key = opt.key == null ? index : opt.key;
var key = opt.key == null ? self._getChildName(index) : opt.key;
return children[key] = self._addElement(key, vnode);
}
@ -15200,7 +15200,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function removeVnodes (vnodes, startIdx, endIdx) {
for (; startIdx <= endIdx; ++startIdx) {
var node = self._getOptions(vnodes[startIdx]);
var key = node.key == null ? startIdx : node.key;
var key = node.key == null ? self._getChildName(startIdx) : node.key;
children[key]._destroy();
}
}
@ -15208,9 +15208,9 @@ BI.Layout = BI.inherit(BI.Widget, {
function insertBefore (insert, before, isNext, index) {
insert = self._getOptions(insert);
before = before && self._getOptions(before);
var insertKey = BI.isKey(insert.key) ? insert.key : index;
var insertKey = BI.isKey(insert.key) ? insert.key : self._getChildName(index);
if (before && children[before.key]) {
var beforeKey = BI.isKey(before.key) ? before.key : index;
var beforeKey = BI.isKey(before.key) ? before.key : self._getChildName(index);
var next;
if (isNext) {
next = children[beforeKey].element.next();

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

10
src/core/wrapper/layout.js

@ -432,7 +432,7 @@ BI.Layout = BI.inherit(BI.Widget, {
this._children = {};
BI.each(newCh, function (i, child) {
var node = self._getOptions(child);
var key = node.key == null ? i : node.key;
var key = node.key == null ? self._getChildName(i) : node.key;
children[key]._mount();
self._children[self._getChildName(i)] = children[key];
});
@ -450,7 +450,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function addNode (vnode, index) {
var opt = self._getOptions(vnode);
var key = opt.key == null ? index : opt.key;
var key = opt.key == null ? self._getChildName(index) : opt.key;
return children[key] = self._addElement(key, vnode);
}
@ -464,7 +464,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function removeVnodes (vnodes, startIdx, endIdx) {
for (; startIdx <= endIdx; ++startIdx) {
var node = self._getOptions(vnodes[startIdx]);
var key = node.key == null ? startIdx : node.key;
var key = node.key == null ? self._getChildName(startIdx) : node.key;
children[key]._destroy();
}
}
@ -472,9 +472,9 @@ BI.Layout = BI.inherit(BI.Widget, {
function insertBefore (insert, before, isNext, index) {
insert = self._getOptions(insert);
before = before && self._getOptions(before);
var insertKey = BI.isKey(insert.key) ? insert.key : index;
var insertKey = BI.isKey(insert.key) ? insert.key : self._getChildName(index);
if (before && children[before.key]) {
var beforeKey = BI.isKey(before.key) ? before.key : index;
var beforeKey = BI.isKey(before.key) ? before.key : self._getChildName(index);
var next;
if (isNext) {
next = children[beforeKey].element.next();

Loading…
Cancel
Save