aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/panels/css-panel/rule-list-container.reel/rule-list-container.js14
1 files changed, 0 insertions, 14 deletions
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, {
120 update : { 120 update : {
121 value: function() { 121 value: function() {
122 this.displayedList.component.rules = this.getRulesForSelection(this.displayedList.selection); 122 this.displayedList.component.rules = this.getRulesForSelection(this.displayedList.selection);
123
124
125 ///// Update the currently displayed list
126 //this.displayedList.component.update();
127
128 ///// Find the new rules which need to be added to the rule-list
129// newRules = rules.filter(function(rule) {
130// return rule.type !== 'inline' && this.displayedList.component.rules.indexOf(rule) === -1;
131// }, this);
132//
133// ///// Add the new rules
134// newRules.forEach(function(rule) {
135// this.displayedList.component.addRule(rule);
136// },this);
137 } 123 }
138 }, 124 },
139 125