summaryrefslogtreecommitdiff
path: root/js/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/index.js')
-rwxr-xr-xjs/lib/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/index.js b/js/lib/index.js
index d78a5b2..86eea71 100755
--- a/js/lib/index.js
+++ b/js/lib/index.js
@@ -7,11 +7,11 @@
// Basic usage:
//
// var commonmark = require('commonmark');
-// var parser = new commonmark.DocParser();
+// var parser = new commonmark.Parser();
// var renderer = new commonmark.HtmlRenderer();
// console.log(renderer.render(parser.parse('Hello *world*')));
module.exports.Node = require('./node');
-module.exports.DocParser = require('./blocks');
+module.exports.Parser = require('./blocks');
module.exports.HtmlRenderer = require('./html');
module.exports.XmlRenderer = require('./xml');