summaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib')
-rwxr-xr-xjs/lib/index.js2
-rw-r--r--js/lib/xml.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/js/lib/index.js b/js/lib/index.js
index 05c7b72..61a128c 100755
--- a/js/lib/index.js
+++ b/js/lib/index.js
@@ -14,4 +14,4 @@
module.exports.Node = require('./node');
module.exports.DocParser = require('./blocks');
module.exports.HtmlRenderer = require('./html');
-module.exports.XMLRenderer = require('./xml');
+module.exports.XmlRenderer = require('./xml');
diff --git a/js/lib/xml.js b/js/lib/xml.js
index e7c71b0..e187e89 100644
--- a/js/lib/xml.js
+++ b/js/lib/xml.js
@@ -120,8 +120,8 @@ var replaceUnsafeChar = function(s) {
var reNeedsEscaping = /[&<>"]/;
-// The XMLRenderer object.
-function XMLRenderer(options){
+// The XmlRenderer object.
+function XmlRenderer(options){
return {
// default options:
softbreak: '\n', // by default, soft breaks are rendered as newlines in HTML
@@ -143,4 +143,4 @@ function XMLRenderer(options){
};
}
-module.exports = XMLRenderer;
+module.exports = XmlRenderer;