diff options
author | Eric Guzman | 2012-06-29 11:51:46 -0700 |
---|---|---|
committer | Eric Guzman | 2012-06-29 11:51:46 -0700 |
commit | 4db51449c829f34c1875e7c5ec91343c511da729 (patch) | |
tree | 64fafa4d4709537c01e7a410def10023805d5d0e | |
parent | ae9a947b7019a57d399823142775c6b61ee69546 (diff) | |
download | ninja-4db51449c829f34c1875e7c5ec91343c511da729.tar.gz |
Styles Controller - getMatchingRules - Add forgotten return statement
-rwxr-xr-x | js/controllers/styles-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js index 64efdb19..aca86ec5 100755 --- a/js/controllers/styles-controller.js +++ b/js/controllers/styles-controller.js | |||
@@ -649,6 +649,7 @@ var stylesController = exports.StylesController = Montage.create(Component, { | |||
649 | 649 | ||
650 | if(!element.parentNode) { | 650 | if(!element.parentNode) { |
651 | console.warn('StylesController::getMatchingRules - Un-attached element queried'); | 651 | console.warn('StylesController::getMatchingRules - Un-attached element queried'); |
652 | return []; | ||
652 | } | 653 | } |
653 | 654 | ||
654 | try { | 655 | try { |