Browse Source

Merge pull request #227 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit 'b329f36a2306010ff5e35ddedf2d1f47e805a1e4':
  去掉神奇的代码
es6
windy 7 years ago
parent
commit
6c287c938e
  1. 4
      bi/base.js
  2. 4
      dist/base.js
  3. 4
      dist/bundle.js
  4. 4
      dist/bundle.min.js
  5. 4
      src/base/single/editor/editor.code.js

4
bi/base.js

@ -19090,10 +19090,6 @@ BI.CodeEditor = BI.inherit(BI.Single, {
setStyle: function (style) {
this.style = style;
this.element.css(style);
var wrapperStyle = this.editor.getWrapperElement().style;
BI.extend(wrapperStyle, style, {
color: style.color || BI.DOM.getContrastColor(BI.DOM.isRGBColor(style.backgroundColor) ? BI.DOM.rgb2hex(style.backgroundColor) : style.backgroundColor)
});
},
getStyle: function () {

4
dist/base.js vendored

@ -19090,10 +19090,6 @@ BI.CodeEditor = BI.inherit(BI.Single, {
setStyle: function (style) {
this.style = style;
this.element.css(style);
var wrapperStyle = this.editor.getWrapperElement().style;
BI.extend(wrapperStyle, style, {
color: style.color || BI.DOM.getContrastColor(BI.DOM.isRGBColor(style.backgroundColor) ? BI.DOM.rgb2hex(style.backgroundColor) : style.backgroundColor)
});
},
getStyle: function () {

4
dist/bundle.js vendored

@ -44833,10 +44833,6 @@ BI.CodeEditor = BI.inherit(BI.Single, {
setStyle: function (style) {
this.style = style;
this.element.css(style);
var wrapperStyle = this.editor.getWrapperElement().style;
BI.extend(wrapperStyle, style, {
color: style.color || BI.DOM.getContrastColor(BI.DOM.isRGBColor(style.backgroundColor) ? BI.DOM.rgb2hex(style.backgroundColor) : style.backgroundColor)
});
},
getStyle: function () {

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

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

@ -185,10 +185,6 @@ BI.CodeEditor = BI.inherit(BI.Single, {
setStyle: function (style) {
this.style = style;
this.element.css(style);
var wrapperStyle = this.editor.getWrapperElement().style;
BI.extend(wrapperStyle, style, {
color: style.color || BI.DOM.getContrastColor(BI.DOM.isRGBColor(style.backgroundColor) ? BI.DOM.rgb2hex(style.backgroundColor) : style.backgroundColor)
});
},
getStyle: function () {

Loading…
Cancel
Save