summaryrefslogtreecommitdiff
path: root/js/lib/xml.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/xml.js')
-rw-r--r--js/lib/xml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/xml.js b/js/lib/xml.js
index 8e4b689..64422c9 100644
--- a/js/lib/xml.js
+++ b/js/lib/xml.js
@@ -72,7 +72,7 @@ var renderNodes = function(block) {
while ((event = walker.next())) {
entering = event.entering;
node = event.node;
- nodetype = node.getType();
+ nodetype = node.type();
container = node.isContainer();
selfClosing = nodetype === 'HorizontalRule' || nodetype === 'Hardbreak' ||