From f9f8fdc3000042ba5b4504d91870dc9a32ef25eb Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 16 May 2012 01:00:22 -0700 Subject: Squashed master into dom-architecture Signed-off-by: Valerio Virgillito --- 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