aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEric Guzman2012-02-06 16:56:57 -0800
committerEric Guzman2012-02-06 17:20:32 -0800
commit34bb4763344f14c8055bc45ea01e5307c424c1c0 (patch)
tree35391903a0886e585f9a3ab96436a04f049afc8e /js
parent82579a7aa6fc75e4a8cebde6628fc43275740079 (diff)
downloadninja-34bb4763344f14c8055bc45ea01e5307c424c1c0.tar.gz
Styles Controller - Correct author attribution for specificity calculation
Diffstat (limited to 'js')
-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