fix: Fix gradient fill bug for IE9, IE10

parent 012627c3
......@@ -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
});
......
{
"name": "raphael",
"version": "2.1.4a",
"version": "2.1.4b",
"description": "JavaScript Vector Library",
"main": "raphael.amd.js",
"scripts": {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
// ┌────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4a - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
// │ Core Module │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
......@@ -84,7 +84,7 @@
}
}
}
R.version = "2.1.4a";
R.version = "2.1.4b";
R.eve = eve;
var loaded,
separator = /[, ]+/,
......@@ -5414,7 +5414,7 @@
}));
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4a - 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
});
......@@ -6839,7 +6839,7 @@
}));
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4a - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ VML Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
......
......@@ -381,7 +381,7 @@
}));
// ┌────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4a - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
// │ Core Module │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
......@@ -466,7 +466,7 @@
}
}
}
R.version = "2.1.4a";
R.version = "2.1.4b";
R.eve = eve;
var loaded,
separator = /[, ]+/,
......@@ -5796,7 +5796,7 @@
}));
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4a - 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
});
......@@ -7221,7 +7221,7 @@
}));
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4a - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ VML Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment