diff options
author | Nivesh Rajbhandari | 2012-05-02 16:50:38 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-02 16:50:38 -0700 |
commit | 7c77aa914eb96c2b5b797e37c16aa786c05f38e8 (patch) | |
tree | bc9d4d9f721552ca0b55299d217867c345f9db8b /js/lib/geom/sub-path.js | |
parent | a809c6b3ba6f024922dd3f10bbc4ab456de2407e (diff) | |
download | ninja-7c77aa914eb96c2b5b797e37c16aa786c05f38e8.tar.gz |
Converting geom-obj to object literal notation.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/lib/geom/sub-path.js')
-rwxr-xr-x | js/lib/geom/sub-path.js | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
232 | 232 | ||
233 | }; //function GLSubpath ...class definition | 233 | }; //function GLSubpath ...class definition |
234 | 234 | ||
235 | GLSubpath.prototype = new GeomObj(); | 235 | GLSubpath.prototype = Object.create(GeomObj, {}); |
236 | 236 | ||
237 | ///////////////////////////////////////////////////////// | 237 | ///////////////////////////////////////////////////////// |
238 | // Property Accessors/Setters | 238 | // Property Accessors/Setters |