aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorPushkar Joshi2012-06-04 10:35:30 -0700
committerPushkar Joshi2012-06-04 10:35:30 -0700
commit8606ee7ec851cb0a971e7556eba5d9386f1b3639 (patch)
tree15295af66c9b4796d5640f6cfc6c1fa349b7247b /assets
parentaa40256e384c13ba197cce9f1e833f3c5a11a8d4 (diff)
downloadninja-8606ee7ec851cb0a971e7556eba5d9386f1b3639.tar.gz
removed repeated declarations in brush stroke runtime class
Diffstat (limited to 'assets')
-rw-r--r--assets/canvas-runtime.js4
1 files changed, 1 insertions, 3 deletions
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
@@ -2030,8 +2030,6 @@ NinjaCvsRt.RuntimeBrushStroke = Object.create(NinjaCvsRt.RuntimeGeomObj, {
2030 _OrigLocalPoints: {value: null, writable: true}, 2030 _OrigLocalPoints: {value: null, writable: true},
2031 2031
2032 _strokeWidth: {value: 0, writable: true}, 2032 _strokeWidth: {value: 0, writable: true},
2033 _strokeColor: {value: null, writable: true},
2034 _strokeWidth: {value: 0, writable: true},
2035 _strokeColor: {value: 0, writable: true}, 2033 _strokeColor: {value: 0, writable: true},
2036 _strokeHardness: {value: 0, writable: true}, 2034 _strokeHardness: {value: 0, writable: true},
2037 _strokeUseCalligraphic : {value: 0, writable: true}, 2035 _strokeUseCalligraphic : {value: 0, writable: true},
@@ -2113,7 +2111,7 @@ NinjaCvsRt.RuntimeBrushStroke = Object.create(NinjaCvsRt.RuntimeGeomObj, {
2113 return; 2111 return;
2114 } 2112 }
2115 2113
2116 // get the context 2114 // get the context
2117 var ctx = world.get2DContext(); 2115 var ctx = world.get2DContext();
2118 if (!ctx) { 2116 if (!ctx) {
2119 throw( "null world in brush stroke render" ); 2117 throw( "null world in brush stroke render" );