aboutsummaryrefslogtreecommitdiff
path: root/lib/xml/nodes.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-08-16 14:51:06 +0100
committerMichael Williamson <mike@zwobble.org>2015-08-16 14:51:06 +0100
commit578ff57e4b86c4b31268e8b22a401c7bfaa9fe1a (patch)
treedaa87dd08fd71df9539832627cef0b2516e815f6 /lib/xml/nodes.js
parentbc1550787eec24964c506ebbddff9363d114b9e6 (diff)
Write text nodes
Diffstat (limited to 'lib/xml/nodes.js')
-rw-r--r--lib/xml/nodes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xml/nodes.js b/lib/xml/nodes.js
index 8232684..9305918 100644
--- a/lib/xml/nodes.js
+++ b/lib/xml/nodes.js
@@ -3,7 +3,7 @@ var _ = require("underscore");
exports.Element = Element;
exports.element = function(name, attributes, children) {
- return new Element();
+ return new Element(name, attributes, children);
};
exports.text = function(value) {
return {