Compare commits

...

6 Commits

Author SHA1 Message Date
강지웅 29aa406326 Merge pull request #3 from nhnent/develop-for-tui-chart
fix: Fix gradient fill bug for IE9, IE10
2016-06-30 08:54:47 +09:00
강지웅/FE개발팀/NE f10781deb5 fix: Fix gradient fill bug for IE9, IE10 2016-06-30 08:53:45 +09:00
extremeFE 05f96926cd Merge pull request #2 from nhnent/develop-for-tui-chart
chroe: Update bower.json
2016-02-03 16:44:14 +09:00
강지웅/FE개발팀/NE 012627c3f3 chroe: Update bower.json 2016-02-03 16:41:24 +09:00
extremeFE 6b7aa2f682 Merge pull request #1 from nhnent/develop-for-tui-chart
fix: Fix old IE bug.
2016-02-03 16:18:07 +09:00
강지웅/FE개발팀/NE c9d3c5fe56 fix: Fix old IE bug. 2016-02-03 16:15:27 +09:00
9 changed files with 50 additions and 45 deletions

View File

@ -1,11 +1,9 @@
{
"name": "raphael",
"main": "raphael.js",
"dependencies": {
"eve": "https://github.com/adobe-webplatform/eve.git#eef80ed"
},
"devDependencies": {
"requirejs": "~2.1.17"
"requirejs": "~2.1.17",
"eve": "https://github.com/adobe-webplatform/eve.git#eef80ed"
},
"ignore": [
"**/.*",

View File

@ -5366,7 +5366,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
//oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
return R;
};
/*\

View File

@ -142,7 +142,7 @@
}
}
$(o, {
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
fill: "url('" + (document.location.origin || '') + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
@ -477,6 +477,9 @@
if (o._.sx != 1 || o._.sy != 1) {
value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;
}
if (o.paper._vbSize) {
value *= o.paper._vbSize;
}
node.setAttribute(att, value);
if (attrs["stroke-dasharray"]) {
addDashes(o, attrs["stroke-dasharray"], params);

View File

@ -899,9 +899,9 @@
};
R._engine.setViewBox = function (x, y, w, h, fit) {
R.eve("raphael.setViewBox", this, this._viewBox, [x, y, w, h, fit]);
var paperSize = this.getSize(),
width = paperSize.width,
height = paperSize.height,
var width = this.width,
height = this.height,
size = 1 / mmax(w / width, h / height),
H, W;
if (fit) {
H = height / h;
@ -917,10 +917,10 @@
this._viewBoxShift = {
dx: -x,
dy: -y,
scale: paperSize
scale: size
};
this.forEach(function (el) {
el.transform("...");
el.transform("");
});
return this;
};

View File

@ -1,6 +1,6 @@
{
"name": "raphael",
"version": "2.1.4",
"version": "2.1.4b",
"description": "JavaScript Vector Library",
"main": "raphael.amd.js",
"scripts": {
@ -32,6 +32,6 @@
"url": "https://github.com/DmitryBaranovskiy/raphael/issues"
},
"homepage": "https://github.com/DmitryBaranovskiy/raphael",
"_id": "raphael@2.1.4",
"_id": "raphael@2.1.4a",
"_from": "raphael@"
}

9
raphael-min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
// ┌────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
// │ Core Module │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
@ -84,7 +84,7 @@
}
}
}
R.version = "2.1.4";
R.version = "2.1.4b";
R.eve = eve;
var loaded,
separator = /[, ]+/,
@ -5366,7 +5366,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
//oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
return R;
};
/*\
@ -5414,7 +5414,7 @@
}));
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ SVG Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
@ -5557,7 +5557,7 @@
}
}
$(o, {
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
fill: "url('" + (document.location.origin || '') + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
@ -5892,6 +5892,9 @@
if (o._.sx != 1 || o._.sy != 1) {
value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;
}
if (o.paper._vbSize) {
value *= o.paper._vbSize;
}
node.setAttribute(att, value);
if (attrs["stroke-dasharray"]) {
addDashes(o, attrs["stroke-dasharray"], params);
@ -6836,7 +6839,7 @@
}));
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ VML Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
@ -7736,9 +7739,9 @@
};
R._engine.setViewBox = function (x, y, w, h, fit) {
R.eve("raphael.setViewBox", this, this._viewBox, [x, y, w, h, fit]);
var paperSize = this.getSize(),
width = paperSize.width,
height = paperSize.height,
var width = this.width,
height = this.height,
size = 1 / mmax(w / width, h / height),
H, W;
if (fit) {
H = height / h;
@ -7754,10 +7757,10 @@
this._viewBoxShift = {
dx: -x,
dy: -y,
scale: paperSize
scale: size
};
this.forEach(function (el) {
el.transform("...");
el.transform("");
});
return this;
};

View File

@ -381,7 +381,7 @@
}));
// ┌────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
// │ Core Module │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
@ -466,7 +466,7 @@
}
}
}
R.version = "2.1.4";
R.version = "2.1.4b";
R.eve = eve;
var loaded,
separator = /[, ]+/,
@ -5748,7 +5748,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
//oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
return R;
};
/*\
@ -5796,7 +5796,7 @@
}));
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ SVG Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
@ -5939,7 +5939,7 @@
}
}
$(o, {
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
fill: "url('" + (document.location.origin || '') + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
@ -6274,6 +6274,9 @@
if (o._.sx != 1 || o._.sy != 1) {
value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;
}
if (o.paper._vbSize) {
value *= o.paper._vbSize;
}
node.setAttribute(att, value);
if (attrs["stroke-dasharray"]) {
addDashes(o, attrs["stroke-dasharray"], params);
@ -7218,7 +7221,7 @@
}));
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ VML Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
@ -8118,9 +8121,9 @@
};
R._engine.setViewBox = function (x, y, w, h, fit) {
R.eve("raphael.setViewBox", this, this._viewBox, [x, y, w, h, fit]);
var paperSize = this.getSize(),
width = paperSize.width,
height = paperSize.height,
var width = this.width,
height = this.height,
size = 1 / mmax(w / width, h / height),
H, W;
if (fit) {
H = height / h;
@ -8136,10 +8139,10 @@
this._viewBoxShift = {
dx: -x,
dy: -y,
scale: paperSize
scale: size
};
this.forEach(function (el) {
el.transform("...");
el.transform("");
});
return this;
};