guy 7 years ago
parent
commit
f148771aeb
  1. 2
      dist/_fineui.min.js
  2. 5
      dist/bundle.js
  3. 2
      dist/bundle.min.js
  4. 5
      dist/core.js
  5. 2
      dist/fineui.min.js
  6. 5
      src/core/func/function.js

2
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/bundle.js vendored

@ -28724,7 +28724,6 @@ BI.extend(BI.DOM, {
}, },
getImage: function (param, fillStyle, backgroundColor) { getImage: function (param, fillStyle, backgroundColor) {
var image = new Image();
var canvas = document.createElement("canvas"); var canvas = document.createElement("canvas");
$("body").append(canvas); $("body").append(canvas);
var w = BI.DOM.getTextSizeWidth(param, 14) + 6; var w = BI.DOM.getTextSizeWidth(param, 14) + 6;
@ -28742,8 +28741,8 @@ BI.extend(BI.DOM, {
width: w, width: w,
height: 24, height: 24,
src: canvas.toDataURL("image/png"), src: canvas.toDataURL("image/png"),
style: "background-color: " + backColor + ";vertical-align: sub; margin: 0 3px;", style: "background-color: " + backColor + ";vertical-align: middle; margin: 0 3px;",
alt: param param: param
}; };
} }
});(function () { });(function () {

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/core.js vendored

@ -28724,7 +28724,6 @@ BI.extend(BI.DOM, {
}, },
getImage: function (param, fillStyle, backgroundColor) { getImage: function (param, fillStyle, backgroundColor) {
var image = new Image();
var canvas = document.createElement("canvas"); var canvas = document.createElement("canvas");
$("body").append(canvas); $("body").append(canvas);
var w = BI.DOM.getTextSizeWidth(param, 14) + 6; var w = BI.DOM.getTextSizeWidth(param, 14) + 6;
@ -28742,8 +28741,8 @@ BI.extend(BI.DOM, {
width: w, width: w,
height: 24, height: 24,
src: canvas.toDataURL("image/png"), src: canvas.toDataURL("image/png"),
style: "background-color: " + backColor + ";vertical-align: sub; margin: 0 3px;", style: "background-color: " + backColor + ";vertical-align: middle; margin: 0 3px;",
alt: param param: param
}; };
} }
});(function () { });(function () {

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

5
src/core/func/function.js

@ -301,7 +301,6 @@ BI.extend(BI.DOM, {
}, },
getImage: function (param, fillStyle, backgroundColor) { getImage: function (param, fillStyle, backgroundColor) {
var image = new Image();
var canvas = document.createElement("canvas"); var canvas = document.createElement("canvas");
$("body").append(canvas); $("body").append(canvas);
var w = BI.DOM.getTextSizeWidth(param, 14) + 6; var w = BI.DOM.getTextSizeWidth(param, 14) + 6;
@ -319,8 +318,8 @@ BI.extend(BI.DOM, {
width: w, width: w,
height: 24, height: 24,
src: canvas.toDataURL("image/png"), src: canvas.toDataURL("image/png"),
style: "background-color: " + backColor + ";vertical-align: sub; margin: 0 3px;", style: "background-color: " + backColor + ";vertical-align: middle; margin: 0 3px;",
alt: param param: param
}; };
} }
}); });
Loading…
Cancel
Save