From 86d2aaed235cd354884d7e71ec4543f4c97e2c8b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 22 Apr 2014 13:41:52 +0100 Subject: Always create paragraph matcher with options object --- lib/document-matchers.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/document-matchers.js b/lib/document-matchers.js index 0846513..8ed5e80 100644 --- a/lib/document-matchers.js +++ b/lib/document-matchers.js @@ -6,10 +6,6 @@ exports.run = run; function paragraph(options) { options = options || {}; - if (_.isString(options)) { - // TODO: this is deprecated, remove usages - options = {styleId: options}; - } return new Matcher("paragraph", options); } -- cgit v1.2.3