From f3dc624fa464a79fd8e8cec1ddd16ed2109bda23 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Fri, 10 Feb 2012 16:05:27 -0800 Subject: Revert "Merge from /joseeight/ninja-internal/tree/FileIO" This reverts commit c48eeb01bd726895dc577d8b843b2a75883eee07. Signed-off-by: Ananya Sen --- js/mediators/element-mediator.js | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'js/mediators') diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js index 95aec2a3..9aefbca6 100755 --- a/js/mediators/element-mediator.js +++ b/js/mediators/element-mediator.js @@ -105,25 +105,6 @@ exports.ElementMediator = Montage.create(NJComponent, { } }, - deleteElements: { - value: function(items) { - // Add the Undo/Redo - var len, el; - - len = items.length; - - if(len) { - - for(var i = len - 1; i >= 0; i--) { - el = items[i]._element || items[i]; - this._removeElement(el); - } - - NJevent( "deleteSelection", items ); - } - } - }, - _removeElement: { value: function(el, rules) { ElementController.removeElement(el, rules); -- cgit v1.2.3