Merge pull request #822 from vebersol/master
fix syntax that is causing bug on opera 12.5
This commit is contained in:
commit
b003c5419a
|
|
@ -1983,11 +1983,11 @@
|
|||
attrs = {x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null},
|
||||
attrs2 = {x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null},
|
||||
processPath = function (path, d, pcom) {
|
||||
var nx, ny;
|
||||
var nx, ny, tq = {T:1, Q:1};
|
||||
if (!path) {
|
||||
return ["C", d.x, d.y, d.x, d.y, d.x, d.y];
|
||||
}
|
||||
!(path[0] in {T:1, Q:1}) && (d.qx = d.qy = null);
|
||||
!(path[0] in tq) && (d.qx = d.qy = null);
|
||||
switch (path[0]) {
|
||||
case "M":
|
||||
d.X = path[1];
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -376,7 +376,7 @@
|
|||
return "You are running Eve " + version;
|
||||
};
|
||||
(typeof module != "undefined" && module.exports) ? (module.exports = eve) : (typeof define != "undefined" ? (define("eve", [], function() { return eve; })) : (glob.eve = eve));
|
||||
})(this);
|
||||
})(window || this);
|
||||
// ┌─────────────────────────────────────────────────────────────────────┐ \\
|
||||
// │ "Raphaël 2.1.2" - JavaScript Vector Library │ \\
|
||||
// ├─────────────────────────────────────────────────────────────────────┤ \\
|
||||
|
|
@ -2362,11 +2362,11 @@
|
|||
attrs = {x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null},
|
||||
attrs2 = {x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null},
|
||||
processPath = function (path, d, pcom) {
|
||||
var nx, ny;
|
||||
var nx, ny, tq = {T:1, Q:1};
|
||||
if (!path) {
|
||||
return ["C", d.x, d.y, d.x, d.y, d.x, d.y];
|
||||
}
|
||||
!(path[0] in {T:1, Q:1}) && (d.qx = d.qy = null);
|
||||
!(path[0] in tq) && (d.qx = d.qy = null);
|
||||
switch (path[0]) {
|
||||
case "M":
|
||||
d.X = path[1];
|
||||
|
|
|
|||
Loading…
Reference in New Issue