From 53a6f81960ce4edbda173da86f2d75a5b23d4938 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Fri, 11 Sep 2009 13:40:04 +0000 Subject: [PATCH] Fixed typo: paresInt->parseInt git-svn-id: http://svg-edit.googlecode.com/svn/trunk@626 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index e3b59d58..1bf72594 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -1861,7 +1861,7 @@ function BatchCommand(text) { if (angle) { // calculate the shape's old center that was used for rotation var box = selectedBBoxes[0]; - var cx = paresInt(box.x + box.width/2), + var cx = parseInt(box.x + box.width/2), cy = parseInt(box.y + box.height/2); var dx = x - cx, dy = y - cy; var r = Math.sqrt( dx*dx + dy*dy );