aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJonathan Duran2012-04-27 11:47:36 -0700
committerJonathan Duran2012-04-27 11:47:36 -0700
commit185dae2438e680acfe8c974dc5d653000c380066 (patch)
tree9d48f71997f67b47b140047b82d5d8b1185d4f51 /js
parent983df3d71efd1f809184814b520a8155cd0c9b6e (diff)
downloadninja-185dae2438e680acfe8c974dc5d653000c380066.tar.gz
Revert "Fix Brush tool not broadcasting elementAdded event"
This reverts commit 12fadd1494a9b5fcdaa17fde2f4847277237cf79. Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/tools/BrushTool.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js
index 94958fd6..6cd6858c 100644
--- a/js/tools/BrushTool.js
+++ b/js/tools/BrushTool.js
@@ -342,8 +342,6 @@ exports.BrushTool = Montage.create(ShapeTool, {
342 // TODO - update the shape's info only. shapeModel will likely need an array of shapes. 342 // TODO - update the shape's info only. shapeModel will likely need an array of shapes.
343 } 343 }
344 344
345 NJevent("elementAdded", newCanvas);
346
347 //if(newCanvas.elementModel.isShape) 345 //if(newCanvas.elementModel.isShape)
348 if (true) 346 if (true)
349 { 347 {