iapyang 7 years ago
parent
commit
9b4977c53f
  1. 4
      bi/base.js
  2. 2
      bi/core.js
  3. 4
      dist/base.js
  4. 6
      dist/bundle.js
  5. 52
      dist/bundle.min.js
  6. 2
      dist/core.js
  7. 4
      src/base/single/editor/editor.textarea.js
  8. 2
      src/data/pool/pool.sharing.js

4
bi/base.js

@ -18465,7 +18465,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
setStyle: function (style) { setStyle: function (style) {
this.style = style; this.style = style;
this.element.css(style); this.element.css(style);
this.content.element.css(style) this.content.element.css(BI.extend({}, style, {
color: style.color || BI.DOM.getContrastColor(BI.DOM.isRGBColor(style.backgroundColor) ? BI.DOM.rgb2hex(style.backgroundColor) : style.backgroundColor)
}))
}, },
getStyle: function () { getStyle: function () {

2
bi/core.js

@ -17474,7 +17474,7 @@ Data.Constant = BI.Constant = BICst = {};
var args = Array.prototype.slice.call(arguments, 0), var args = Array.prototype.slice.call(arguments, 0),
copy = _Shared; copy = _Shared;
for (var i = 0; i < args.length; i++) { for (var i = 0; i < args.length; i++) {
copy = copy[args[i]]; copy = copy && copy[args[i]];
} }
return copy; return copy;
}, },

4
dist/base.js vendored

@ -18465,7 +18465,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
setStyle: function (style) { setStyle: function (style) {
this.style = style; this.style = style;
this.element.css(style); this.element.css(style);
this.content.element.css(style) this.content.element.css(BI.extend({}, style, {
color: style.color || BI.DOM.getContrastColor(BI.DOM.isRGBColor(style.backgroundColor) ? BI.DOM.rgb2hex(style.backgroundColor) : style.backgroundColor)
}))
}, },
getStyle: function () { getStyle: function () {

6
dist/bundle.js vendored

@ -28616,7 +28616,7 @@ Data.Constant = BI.Constant = BICst = {};
var args = Array.prototype.slice.call(arguments, 0), var args = Array.prototype.slice.call(arguments, 0),
copy = _Shared; copy = _Shared;
for (var i = 0; i < args.length; i++) { for (var i = 0; i < args.length; i++) {
copy = copy[args[i]]; copy = copy && copy[args[i]];
} }
return copy; return copy;
}, },
@ -47194,7 +47194,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
setStyle: function (style) { setStyle: function (style) {
this.style = style; this.style = style;
this.element.css(style); this.element.css(style);
this.content.element.css(style) this.content.element.css(BI.extend({}, style, {
color: style.color || BI.DOM.getContrastColor(BI.DOM.isRGBColor(style.backgroundColor) ? BI.DOM.rgb2hex(style.backgroundColor) : style.backgroundColor)
}))
}, },
getStyle: function () { getStyle: function () {

52
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/core.js vendored

@ -28616,7 +28616,7 @@ Data.Constant = BI.Constant = BICst = {};
var args = Array.prototype.slice.call(arguments, 0), var args = Array.prototype.slice.call(arguments, 0),
copy = _Shared; copy = _Shared;
for (var i = 0; i < args.length; i++) { for (var i = 0; i < args.length; i++) {
copy = copy[args[i]]; copy = copy && copy[args[i]];
} }
return copy; return copy;
}, },

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

@ -142,7 +142,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
setStyle: function (style) { setStyle: function (style) {
this.style = style; this.style = style;
this.element.css(style); this.element.css(style);
this.content.element.css(style) this.content.element.css(BI.extend({}, style, {
color: style.color || BI.DOM.getContrastColor(BI.DOM.isRGBColor(style.backgroundColor) ? BI.DOM.rgb2hex(style.backgroundColor) : style.backgroundColor)
}))
}, },
getStyle: function () { getStyle: function () {

2
src/data/pool/pool.sharing.js

@ -15,7 +15,7 @@
var args = Array.prototype.slice.call(arguments, 0), var args = Array.prototype.slice.call(arguments, 0),
copy = _Shared; copy = _Shared;
for (var i = 0; i < args.length; i++) { for (var i = 0; i < args.length; i++) {
copy = copy[args[i]]; copy = copy && copy[args[i]];
} }
return copy; return copy;
}, },

Loading…
Cancel
Save