Browse Source

Merge pull request #13 in ~GUY/fineui from ~WINDY/fineui:2.0 to 2.0

* commit '4368b0f485751ae120a8101d97c4cdb61eac2fc0':
  update
es6
windy 8 years ago
parent
commit
4ed9858f29
  1. 23908
      bi/core.js
  2. 3
      dist/core.js
  3. 3
      src/core/widget.js

23908
bi/core.js

File diff suppressed because it is too large Load Diff

3
dist/core.js vendored

@ -14585,6 +14585,9 @@ BI.Widget = BI.inherit(BI.OB, {
widget = name;
name = widget.getName();
}
if(BI.isKey(name)){
name = name + "";
}
name = name || widget.getName() || BI.uniqueId("widget");
if (this._children[name]) {
throw new Error("name has already been existed");

3
src/core/widget.js

@ -249,6 +249,9 @@ BI.Widget = BI.inherit(BI.OB, {
widget = name;
name = widget.getName();
}
if(BI.isKey(name)){
name = name + "";
}
name = name || widget.getName() || BI.uniqueId("widget");
if (this._children[name]) {
throw new Error("name has already been existed");

Loading…
Cancel
Save