From eaf424c8ebadbf6458c77c8cfec6f5c8ef1af45f Mon Sep 17 00:00:00 2001 From: Thomas Shinnick Date: Sun, 16 Mar 2014 19:17:56 -0500 Subject: [PATCH] Fix typo in src/path.js - ref issue #211 --- src/path.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path.js b/src/path.js index be5468e..50ae9aa 100644 --- a/src/path.js +++ b/src/path.js @@ -949,7 +949,7 @@ Snap.plugin(function (Snap, Element, Paper, glob) { d.Y = path[2]; break; case "A": - path = ["C"].concat(a2c[apply](0, [d.x, d.y].concat(path.slice(1)))); + path = ["C"].concat(a2c.apply(0, [d.x, d.y].concat(path.slice(1)))); break; case "S": if (pcom == "C" || pcom == "S") { // In "S" case we have to take into account, if the previous command is C/S. @@ -1422,4 +1422,4 @@ Snap.plugin(function (Snap, Element, Paper, glob) { Snap.path.map = mapPath; Snap.path.toString = toString; Snap.path.clone = pathClone; -}); \ No newline at end of file +});