From 578ff57e4b86c4b31268e8b22a401c7bfaa9fe1a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 16 Aug 2015 14:51:06 +0100 Subject: Write text nodes --- lib/xml/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xml/nodes.js') 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 { -- cgit v1.2.3