diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-17 22:00:19 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-17 22:00:19 -0800 |
commit | b34e19cd2f32342fafd6ae76de4e537240784f71 (patch) | |
tree | 38c19f2dcd14948eda23f859633df8ca0ff750bf /js/lib/index.js | |
parent | 7b0feef72f8dd6e6d1ea61e70272fb826202e820 (diff) |
Renamed DocParser -> Parser.
Note: library users should update their code or it will break.
Diffstat (limited to 'js/lib/index.js')
-rwxr-xr-x | js/lib/index.js | 4 |
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'); |