aboutsummaryrefslogtreecommitdiff
path: root/lib/style-reader.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-22 11:05:42 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-22 11:05:42 +0100
commit57cc8dff2e5723b8468c2f1fa1020ac2a9144022 (patch)
treed04cc33addc704c07696aa44a4503c5e5388fad5 /lib/style-reader.js
parentbc8e8b44a05041bc656e83a87d857ec58ba0b4fe (diff)
Rename styleName to the more accurate styleId
Diffstat (limited to 'lib/style-reader.js')
-rw-r--r--lib/style-reader.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/style-reader.js b/lib/style-reader.js
index 0e50172..13f3609 100644
--- a/lib/style-reader.js
+++ b/lib/style-reader.js
@@ -89,8 +89,8 @@ function documentMatcherRule() {
sequence.capture(elementTypeRule),
sequence.capture(lop.rules.optional(classRule)),
sequence.capture(optionalListRule)
- ).map(function(createMatcher, styleName, applyList) {
- return applyList(createMatcher(styleName.valueOrElse()));
+ ).map(function(createMatcher, styleId, applyList) {
+ return applyList(createMatcher(styleId.valueOrElse()));
});
}