diff options
Diffstat (limited to 'node_modules/jsdom/lib/jsdom/living/comment.js')
| -rw-r--r-- | node_modules/jsdom/lib/jsdom/living/comment.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/node_modules/jsdom/lib/jsdom/living/comment.js b/node_modules/jsdom/lib/jsdom/living/comment.js deleted file mode 100644 index 471eb5d..0000000 --- a/node_modules/jsdom/lib/jsdom/living/comment.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; -var inheritFrom = require("../utils").inheritFrom; - -module.exports = function (core) { - // TODO: constructor should not take ownerDocument - core.Comment = function Comment(ownerDocument, data) { - core.CharacterData.call(this, ownerDocument, data); - }; - - inheritFrom(core.CharacterData, core.Comment, { - nodeType: core.Node.COMMENT_NODE, // TODO should be on prototype, not here - }); -}; |
