From 8606ee7ec851cb0a971e7556eba5d9386f1b3639 Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Mon, 4 Jun 2012 10:35:30 -0700 Subject: removed repeated declarations in brush stroke runtime class --- assets/canvas-runtime.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'assets') diff --git a/assets/canvas-runtime.js b/assets/canvas-runtime.js index dab1c444..b5b08cea 100644 --- a/assets/canvas-runtime.js +++ b/assets/canvas-runtime.js @@ -2029,8 +2029,6 @@ NinjaCvsRt.RuntimeBrushStroke = Object.create(NinjaCvsRt.RuntimeGeomObj, { _LocalPoints: { value: null, writable: true }, _OrigLocalPoints: {value: null, writable: true}, - _strokeWidth: {value: 0, writable: true}, - _strokeColor: {value: null, writable: true}, _strokeWidth: {value: 0, writable: true}, _strokeColor: {value: 0, writable: true}, _strokeHardness: {value: 0, writable: true}, @@ -2113,7 +2111,7 @@ NinjaCvsRt.RuntimeBrushStroke = Object.create(NinjaCvsRt.RuntimeGeomObj, { return; } - // get the context + // get the context var ctx = world.get2DContext(); if (!ctx) { throw( "null world in brush stroke render" ); -- cgit v1.2.3