From 6fd93978f81929a19f7746c85df979ed1fc1866a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 8 May 2013 20:30:13 -0700 Subject: [PATCH] Do not use PaperScript in node example. --- examples/Node.js/exportSVG.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Node.js/exportSVG.js b/examples/Node.js/exportSVG.js index 9690c247..3209c49a 100644 --- a/examples/Node.js/exportSVG.js +++ b/examples/Node.js/exportSVG.js @@ -8,7 +8,7 @@ with (paper) { var radius = view.bounds.width * 0.4, from = new Point(view.center.x), - to = from + [radius, 0]; + to = from.add(radius, 0); var circle = new Path.Circle({ center: from,