aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Guzman2012-02-06 16:56:57 -0800
committerEric Guzman2012-02-06 16:56:57 -0800
commitbb8e0289ff170fd1a5256b99259c6ee5d3fdea17 (patch)
tree1904828fa9f3a72051a12856359e2cb7ea47b1d8
parent9dc2f9d72364bb3a8ddaef56eaf7d5c22b134e59 (diff)
downloadninja-bb8e0289ff170fd1a5256b99259c6ee5d3fdea17.tar.gz
Styles Controller - Correct author attribution for specificity calculation
-rw-r--r--js/controllers/styles-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index 6ba24aa6..1dd91c8d 100644
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -736,6 +736,7 @@ var stylesController = exports.StylesController = Montage.create(Component, {
736 ///// Returns the specificity value of passed-in selector 736 ///// Returns the specificity value of passed-in selector
737 ///// WARNING: Do not pass in grouped selectors! 737 ///// WARNING: Do not pass in grouped selectors!
738 ///// Helpful for determining precedence of style rules 738 ///// Helpful for determining precedence of style rules
739 ///// Calculation javascript code courtesy of Graham Bradley:
739 ///// http://gbradley.com/2009/10/02/css-specificity-in-javascript 740 ///// http://gbradley.com/2009/10/02/css-specificity-in-javascript
740 ///// Used with author's permission 741 ///// Used with author's permission
741 742