From 835f4092e91a96d1fb208530ccdc154779c4fa8b Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Thu, 10 May 2012 16:32:39 -0700 Subject: CSS Panel - Rule list - remove old update code --- .../rule-list-container.reel/rule-list-container.js | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'js/panels/css-panel/rule-list-container.reel/rule-list-container.js') diff --git a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js index d9aae867..9cf8b875 100644 --- a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js +++ b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js @@ -120,20 +120,6 @@ exports.RuleListContainer = Montage.create(Component, { update : { value: function() { this.displayedList.component.rules = this.getRulesForSelection(this.displayedList.selection); - - - ///// Update the currently displayed list - //this.displayedList.component.update(); - - ///// Find the new rules which need to be added to the rule-list -// newRules = rules.filter(function(rule) { -// return rule.type !== 'inline' && this.displayedList.component.rules.indexOf(rule) === -1; -// }, this); -// -// ///// Add the new rules -// newRules.forEach(function(rule) { -// this.displayedList.component.addRule(rule); -// },this); } }, -- cgit v1.2.3