Browse Source

Merge branch 'master' of http://cloud.finedevelop.com:2015/scm/fui/fineui

# Conflicts:
#	dist/_fineui.min.js
#	dist/bundle.min.js
#	dist/fineui.min.js
es6
windy 6 years ago
parent
commit
3c95dea58c
  1. 8
      dist/base.js
  2. 10
      dist/bundle.js
  3. 2
      dist/fix/fix.compact.js
  4. 6
      src/base/single/editor/editor.code.js
  5. 2
      src/base/single/editor/editor.textarea.js

8
dist/base.js vendored

@ -18175,7 +18175,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
items: [{ items: [{
el: this.watermark, el: this.watermark,
top: 0, top: 0,
left: o.lineNumbers ? 5 : 30 + 5 left: o.lineNumbers ? 30 + 5 : 5
}] }]
}); });
}, },
@ -18185,6 +18185,10 @@ BI.CodeEditor = BI.inherit(BI.Single, {
if (BI.isNumber(o.value) || BI.isString(o.value)) { if (BI.isNumber(o.value) || BI.isString(o.value)) {
this.setValue(o.value); this.setValue(o.value);
} }
if (BI.isNotNull(o.style)) {
self.setStyle(o.style);
}
}, },
_setEnable: function (b) { _setEnable: function (b) {
@ -18770,7 +18774,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
self.setValue(o.value); self.setValue(o.value);
} }
if (BI.isNotNull(o.style)) { if (BI.isNotNull(o.style)) {
self.setValue(o.style); self.setStyle(o.style);
} }
this._checkWaterMark(); this._checkWaterMark();
}, },

10
dist/bundle.js vendored

@ -53923,7 +53923,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
items: [{ items: [{
el: this.watermark, el: this.watermark,
top: 0, top: 0,
left: o.lineNumbers ? 5 : 30 + 5 left: o.lineNumbers ? 30 + 5 : 5
}] }]
}); });
}, },
@ -53933,6 +53933,10 @@ BI.CodeEditor = BI.inherit(BI.Single, {
if (BI.isNumber(o.value) || BI.isString(o.value)) { if (BI.isNumber(o.value) || BI.isString(o.value)) {
this.setValue(o.value); this.setValue(o.value);
} }
if (BI.isNotNull(o.style)) {
self.setStyle(o.style);
}
}, },
_setEnable: function (b) { _setEnable: function (b) {
@ -54518,7 +54522,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
self.setValue(o.value); self.setValue(o.value);
} }
if (BI.isNotNull(o.style)) { if (BI.isNotNull(o.style)) {
self.setValue(o.style); self.setStyle(o.style);
} }
this._checkWaterMark(); this._checkWaterMark();
}, },
@ -111587,7 +111591,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
needPop = true; needPop = true;
} }
this.store = this._store(); this.store = this._store();
this.store && (this.store._widget = this); this.store && this.store._widget = this;
needPop && popTarget(); needPop && popTarget();
needPop = false; needPop = false;
pushTarget(this.store); pushTarget(this.store);

2
dist/fix/fix.compact.js vendored

@ -115,7 +115,7 @@
needPop = true; needPop = true;
} }
this.store = this._store(); this.store = this._store();
this.store && (this.store._widget = this); this.store && this.store._widget = this;
needPop && popTarget(); needPop && popTarget();
needPop = false; needPop = false;
pushTarget(this.store); pushTarget(this.store);

6
src/base/single/editor/editor.code.js

@ -84,7 +84,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
items: [{ items: [{
el: this.watermark, el: this.watermark,
top: 0, top: 0,
left: o.lineNumbers ? 5 : 30 + 5 left: o.lineNumbers ? 30 + 5 : 5
}] }]
}); });
}, },
@ -94,6 +94,10 @@ BI.CodeEditor = BI.inherit(BI.Single, {
if (BI.isNumber(o.value) || BI.isString(o.value)) { if (BI.isNumber(o.value) || BI.isString(o.value)) {
this.setValue(o.value); this.setValue(o.value);
} }
if (BI.isNotNull(o.style)) {
self.setStyle(o.style);
}
}, },
_setEnable: function (b) { _setEnable: function (b) {

2
src/base/single/editor/editor.textarea.js

@ -65,7 +65,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
self.setValue(o.value); self.setValue(o.value);
} }
if (BI.isNotNull(o.style)) { if (BI.isNotNull(o.style)) {
self.setValue(o.style); self.setStyle(o.style);
} }
this._checkWaterMark(); this._checkWaterMark();
}, },

Loading…
Cancel
Save