From 6ac4b160eab6db7cfc58cb4ede4b5142a36ff7ad Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 10 Apr 2014 13:51:11 +0100 Subject: Fix jshint errors --- lib/document-matchers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/document-matchers.js') 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; -- cgit v1.2.3