diff options
author | Eric Guzman | 2012-05-10 16:32:39 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-10 16:32:39 -0700 |
commit | 835f4092e91a96d1fb208530ccdc154779c4fa8b (patch) | |
tree | f883f1a89b21762c98f9a2fa070d2f7e0920f398 /js/panels | |
parent | 1db59a64c0db27878ce45858748b5a74b273dcb1 (diff) | |
download | ninja-835f4092e91a96d1fb208530ccdc154779c4fa8b.tar.gz |
CSS Panel - Rule list - remove old update code
Diffstat (limited to 'js/panels')
-rw-r--r-- | js/panels/css-panel/rule-list-container.reel/rule-list-container.js | 14 |
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 | ||