Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 72ff57e

Browse files
committed
Merge pull request #26 from stebulus/master
In createElementNS, call createElementNS.
2 parents 84a3f97 + 216e3c2 commit 72ff57e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DOM/Node/Document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ exports.createElementNS = function (ns) {
5959
return function (qualifiedName) {
6060
return function (doc) {
6161
return function () {
62-
return doc.createElement(ns, qualifiedName);
62+
return doc.createElementNS(ns, qualifiedName);
6363
};
6464
};
6565
};

0 commit comments

Comments
 (0)