From 216e3c26d09003114e3ce1b9e5c0085dd8160467 Mon Sep 17 00:00:00 2001 From: Steven Taschuk Date: Sat, 17 Oct 2015 08:51:08 -0400 Subject: [PATCH] In createElementNS, call createElementNS. --- src/DOM/Node/Document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DOM/Node/Document.js b/src/DOM/Node/Document.js index abad5ab..0463a0a 100644 --- a/src/DOM/Node/Document.js +++ b/src/DOM/Node/Document.js @@ -59,7 +59,7 @@ exports.createElementNS = function (ns) { return function (qualifiedName) { return function (doc) { return function () { - return doc.createElement(ns, qualifiedName); + return doc.createElementNS(ns, qualifiedName); }; }; };