aboutsummaryrefslogtreecommitdiff
path: root/js/lib/index.js
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-17 22:00:19 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-17 22:00:19 -0800
commitb34e19cd2f32342fafd6ae76de4e537240784f71 (patch)
tree38c19f2dcd14948eda23f859633df8ca0ff750bf /js/lib/index.js
parent7b0feef72f8dd6e6d1ea61e70272fb826202e820 (diff)
Renamed DocParser -> Parser.
Note: library users should update their code or it will break.
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');