Permalink
Browse files

fixed syntax problems

  • Loading branch information...
1 parent 462c67b commit f637c4102e2973af8785b2c3be9dcf75abb375fb @tmpvar committed Jun 24, 2010
Showing with 14 additions and 13 deletions.
  1. +14 −13 lib/jsdom/level2/core.js
View
27 lib/jsdom/level2/core.js
@@ -174,33 +174,34 @@ core.DocumentType.prototype.__defineGetter__("internalSubset", function() {
return this._internalSubset || "";
});
-core.Document.prototype.importNode(/* Node */ importedNode,
+core.Document.prototype.importNode = function(/* Node */ importedNode,
/* bool */ deep)
{
-}
-core.Document.prototype.createElementNS(/* string */ namespaceURI,
- /* string */ qualifiedName)
+};
+
+core.Document.prototype.createElementNS = function(/* string */ namespaceURI,
+ /* string */ qualifiedName)
{
-}
+};
-core.Document.prototype.createAttributeNS(/* string */ namespaceURI,
- /* string */ qualifiedName)
+core.Document.prototype.createAttributeNS = function(/* string */ namespaceURI,
+ /* string */ qualifiedName)
{
-}
+};
-core.Document.prototype.getElementsByTagNameNS(/* string */ namespaceURI,
- /* string */ localName)
+core.Document.prototype.getElementsByTagNameNS = function(/* string */ namespaceURI,
+ /* string */ localName)
{
-}
+};
-core.Document.prototype.getElementById(/* string */ elementId)
+core.Document.prototype.getElementById = function(/* string */ elementId)
{
-}
+};
exports.dom =
{

0 comments on commit f637c41

Please sign in to comment.