From e44eb21a558f6b80c0c038602baf77223709f1d9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 15 Jan 2015 12:47:04 -0800 Subject: Removed setType(), replaced getType() with type(). --- js/lib/inlines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/lib/inlines.js') diff --git a/js/lib/inlines.js b/js/lib/inlines.js index cfe085f..f12e297 100644 --- a/js/lib/inlines.js +++ b/js/lib/inlines.js @@ -658,7 +658,7 @@ var parseNewline = function(block) { this.pos += 1; // assume we're at a \n // check previous node for trailing spaces var lastc = block.lastChild; - if (lastc && lastc.getType() === 'Text') { + if (lastc && lastc.type() === 'Text') { var sps = reFinalSpace.exec(lastc.literal)[0].length; if (sps > 0) { lastc.literal = lastc.literal.replace(reFinalSpace, ''); -- cgit v1.2.3