simple-dom
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -16,3 +16,3 @@ var rollup = require('rollup'); | ||
format: 'umd', | ||
moduleName: 'SimpleDOMTests' | ||
moduleName: 'SimpleDOM' | ||
}); | ||
@@ -19,0 +19,0 @@ }).catch(function (e) { |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
factory((global.SimpleDOMTests = {})); | ||
factory((global.SimpleDOM = {})); | ||
}(this, function (exports) { 'use strict'; | ||
@@ -99,2 +99,4 @@ | ||
if (node.parentNode) { node.parentNode.removeChild(node); } | ||
node.parentNode = this; | ||
@@ -106,4 +108,4 @@ | ||
node.previousSibling = previousSibling; | ||
}else{ | ||
node.previousSibling = null | ||
} else { | ||
node.previousSibling = null; | ||
} | ||
@@ -110,0 +112,0 @@ |
@@ -93,2 +93,4 @@ function Node(nodeType, nodeName, nodeValue) { | ||
if (node.parentNode) { node.parentNode.removeChild(node); } | ||
node.parentNode = this; | ||
@@ -100,4 +102,4 @@ | ||
node.previousSibling = previousSibling; | ||
}else{ | ||
node.previousSibling = null | ||
} else { | ||
node.previousSibling = null; | ||
} | ||
@@ -104,0 +106,0 @@ |
{ | ||
"name": "simple-dom", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A simple JS DOM.", | ||
@@ -22,3 +22,3 @@ "main": "dist/simple-dom.js", | ||
"type": "git", | ||
"url": "https://github.com/krisselden/simple-dom.git" | ||
"url": "https://github.com/ember-fastboot/simple-dom.git" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
# About [![Build Status](https://travis-ci.org/krisselden/simple-dom.svg)](https://travis-ci.org/krisselden/simple-dom) | ||
# About [![Build Status](https://travis-ci.org/ember-fastboot/simple-dom.svg)](https://travis-ci.org/ember-fastboot/simple-dom) | ||
@@ -8,2 +8,1 @@ Importantly, simple-dom implements a very, very small subset of the WHATWG DOM specification, optimized for performance, and for the requirements of the Ember view layer. For example, it does not implement any part of the DOM that would require the use of accessors; it's just an attempt to faithfully represent the DOM as a data structure, not its complete API surface. (If you need the whole enchilada, check out something like [jsdom](https://github.com/tmpvar/jsdom), which is much more complete.) | ||
``` | ||
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
291786
2342
8
1