diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-19 12:03:32 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-19 12:03:32 +0000 |
| commit | 6bef85a8fde03b50de4aa78064ab4c32ad54041c (patch) | |
| tree | 84bc1ab1c337f0ca045b1cb34487ec07f4c84c76 /lib/style-reader.js | |
| parent | 68d8c8140fb6ef1118fa2815243817f8e4f55b59 (diff) | |
Introduce matcher for style name
Diffstat (limited to 'lib/style-reader.js')
| -rw-r--r-- | lib/style-reader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/style-reader.js b/lib/style-reader.js index 2889554..fe80006 100644 --- a/lib/style-reader.js +++ b/lib/style-reader.js @@ -74,7 +74,7 @@ function documentMatcherRule() { lop.rules.tokenOfType("close-square-bracket") ).head(), function(styleName) { - return {styleName: styleName}; + return {styleName: documentMatchers.equalTo(styleName)}; } ); |
