aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/styles-controller.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index 0f847653..2282794c 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -629,7 +629,7 @@ var stylesController = exports.StylesController = Montage.create(Component, {
629 if(!rule) { 629 if(!rule) {
630 ///// This should never be hit if providing cssText from existing rule (like those 630 ///// This should never be hit if providing cssText from existing rule (like those
631 ///// returned from getMatchedCSSRules() 631 ///// returned from getMatchedCSSRules()
632 console.warn('StylesController::_getRuleWithCSSText - No rule found with given cssText.'); 632 //console.warn('StylesController::_getRuleWithCSSText - No rule found with given cssText.');
633 } 633 }
634 634
635 return rule; 635 return rule;
@@ -653,6 +653,8 @@ var stylesController = exports.StylesController = Montage.create(Component, {
653 }, this); 653 }, this);
654 654
655 rules = mappedRules.filter(function(rule) { 655 rules = mappedRules.filter(function(rule) {
656 if(!rule) { return false; }
657
656 //// useStageStyleSheet flag indicates whether to only return rules from the stylesheet, 658 //// useStageStyleSheet flag indicates whether to only return rules from the stylesheet,
657 //// or only use rules for other stylesheets 659 //// or only use rules for other stylesheets
658 660