diff options
author | Eric Guzman | 2012-02-06 16:56:57 -0800 |
---|---|---|
committer | Eric Guzman | 2012-02-06 17:20:32 -0800 |
commit | 34bb4763344f14c8055bc45ea01e5307c424c1c0 (patch) | |
tree | 35391903a0886e585f9a3ab96436a04f049afc8e /js | |
parent | 82579a7aa6fc75e4a8cebde6628fc43275740079 (diff) | |
download | ninja-34bb4763344f14c8055bc45ea01e5307c424c1c0.tar.gz |
Styles Controller - Correct author attribution for specificity calculation
Diffstat (limited to 'js')
-rw-r--r-- | 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 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 | ||