From 4c13ca6961dfece756c655cca30dfecbd946ca59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrg=20Lehni?= <juerg@scratchdisk.com>
Date: Sun, 6 Mar 2011 22:06:06 +0000
Subject: [PATCH] Fix syntax errors (that magically work on Safari).

---
 src/path/Path.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/path/Path.js b/src/path/Path.js
index f99a57a8..bd02161c 100644
--- a/src/path/Path.js
+++ b/src/path/Path.js
@@ -198,7 +198,7 @@ var Path = this.Path = PathItem.extend({
 			matrix = null;
 		first._transformCoordinates(matrix, prevCoords, false);
 		var min = prevCoords.slice(0, 2),
-			max = min.slice(0), // clone
+			max = min.slice(0); // clone
 		function processSegment(segment) {
 			segment._transformCoordinates(matrix, coords, false);
 
@@ -365,7 +365,7 @@ var Path = this.Path = PathItem.extend({
 					ty = + Math.atan(b / Math.tan(phi)),
 					// Due to symetry, we don't need to cycle through pi * n
 					// solutions:
-					x = a * Math.cos(tx) * Math.cos(phi),
+					x = a * Math.cos(tx) * Math.cos(phi)
 						- b * Math.sin(tx) * Math.sin(phi),
 					y = b * Math.sin(ty) * Math.cos(phi)
 						+ a * Math.cos(ty) * Math.sin(phi);