aboutsummaryrefslogtreecommitdiff
path: root/lib/document-matchers.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-10 13:51:11 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-10 13:51:11 +0100
commit6ac4b160eab6db7cfc58cb4ede4b5142a36ff7ad (patch)
treeb31f498a005cb5ef00e5f3eda2d321535f866772 /lib/document-matchers.js
parent83ac75808b14862531b046f51f90014d7dea621e (diff)
Fix jshint errors
Diffstat (limited to 'lib/document-matchers.js')
-rw-r--r--lib/document-matchers.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/document-matchers.js b/lib/document-matchers.js
index e681349..a5b5ff5 100644
--- a/lib/document-matchers.js
+++ b/lib/document-matchers.js
@@ -19,15 +19,15 @@ Matcher.prototype.matches = function(element) {
return element.type === this._elementType &&
(this._styleName === undefined || element.styleName === this._styleName) &&
(this._listIndex === undefined || isList(element, this._listIndex, this._listIsOrdered));
-}
+};
Matcher.prototype.orderedList = function(levelIndex) {
return this.list({isOrdered: true, levelIndex: levelIndex});
-}
+};
Matcher.prototype.unorderedList = function(levelIndex) {
return this.list({isOrdered: false, levelIndex: levelIndex});
-}
+};
Matcher.prototype.list = function(options) {
this._listIndex = options.levelIndex;