aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-22 13:41:52 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-22 13:41:52 +0100
commit86d2aaed235cd354884d7e71ec4543f4c97e2c8b (patch)
tree02eb94567b79a9736bc69c2749362045892b667c /lib
parentec837dc5c639efa92fb676dc90c008ad7cfff58e (diff)
Always create paragraph matcher with options object
Diffstat (limited to 'lib')
-rw-r--r--lib/document-matchers.js4
1 files changed, 0 insertions, 4 deletions
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);
}