From 7c77aa914eb96c2b5b797e37c16aa786c05f38e8 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Wed, 2 May 2012 16:50:38 -0700 Subject: Converting geom-obj to object literal notation. Signed-off-by: Nivesh Rajbhandari --- js/lib/geom/sub-path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/lib/geom/sub-path.js') diff --git a/js/lib/geom/sub-path.js b/js/lib/geom/sub-path.js index 56c94df3..4c5fe1eb 100755 --- a/js/lib/geom/sub-path.js +++ b/js/lib/geom/sub-path.js @@ -232,7 +232,7 @@ var GLSubpath = function GLSubpath() { }; //function GLSubpath ...class definition -GLSubpath.prototype = new GeomObj(); +GLSubpath.prototype = Object.create(GeomObj, {}); ///////////////////////////////////////////////////////// // Property Accessors/Setters -- cgit v1.2.3