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/brush-stroke.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/brush-stroke.js')
-rwxr-xr-x | js/lib/geom/brush-stroke.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 1fae0c1d..6facdd5d 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js | |||
@@ -768,7 +768,7 @@ var BrushStroke = function GLBrushStroke() { | |||
768 | 768 | ||
769 | }; //function BrushStroke ...class definition | 769 | }; //function BrushStroke ...class definition |
770 | 770 | ||
771 | BrushStroke.prototype = new GeomObj(); | 771 | BrushStroke.prototype = Object.create(GeomObj, {}); |
772 | 772 | ||
773 | BrushStroke.prototype._CatmullRomSplineInterpolate = function(ctrlPts, t) | 773 | BrushStroke.prototype._CatmullRomSplineInterpolate = function(ctrlPts, t) |
774 | { | 774 | { |