diff options
author | Jonathan Duran | 2012-04-27 11:47:36 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-04-27 11:47:36 -0700 |
commit | 185dae2438e680acfe8c974dc5d653000c380066 (patch) | |
tree | 9d48f71997f67b47b140047b82d5d8b1185d4f51 /js/tools | |
parent | 983df3d71efd1f809184814b520a8155cd0c9b6e (diff) | |
download | ninja-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/tools')
-rw-r--r-- | js/tools/BrushTool.js | 2 |
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 | { |