Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'jsdom' of https://github.com/jasondavies/d3 into 2.9.0

  • Loading branch information...
commit c9b77a189415e372155aa4e72c9dced8f4198af1 2 parents 4ffe6b4 + e7025c7
@mbostock authored
View
2  package.json
@@ -21,7 +21,7 @@
},
"main": "index.js",
"dependencies": {
- "jsdom": "0.2.12",
+ "jsdom": "0.2.14",
"sizzle": "1.1.x"
},
"devDependencies": {
View
2  src/package.js
@@ -10,7 +10,7 @@ require("util").puts(JSON.stringify({
"repository": {"type": "git", "url": "http://github.com/mbostock/d3.git"},
"main": "index.js",
"dependencies": {
- "jsdom": "0.2.12",
+ "jsdom": "0.2.14",
"sizzle": "1.1.x"
},
"devDependencies": {
View
3  test/core/selection-html-test.js
@@ -98,8 +98,6 @@ suite.addBatch({
assert.equal(div[0][1].lastChild.tagName, "I");
assert.equal(div[0][1].lastChild.textContent, "1");
},
- /*
- https://github.com/tmpvar/jsdom/issues/276
"clears the inner HTML as null": function(div) {
div.html(null);
assert.equal(div[0][0].innerHTML, "");
@@ -107,7 +105,6 @@ suite.addBatch({
assert.equal(div[0][1].innerHTML, "");
assert.isNull(div[0][1].firstChild);
},
- */
"clears the inner HTML as a function": function(div) {
div.html(function() { return ""; });
assert.equal(div[0][0].innerHTML, "");
View
2  test/core/selection-text-test.js
@@ -27,7 +27,6 @@ suite.addBatch({
assert.equal(document.body.textContent, "<h1>Hello, world!</h1>");
assert.equal(document.body.firstChild.nodeType, document.TEXT_NODE);
},
- /* <https://github.com/tmpvar/jsdom/issues/276>
"clears the text content as null": function(body) {
body.text(null);
assert.equal(document.body.textContent, "");
@@ -44,7 +43,6 @@ suite.addBatch({
body.text(function() { return undefined; });
assert.equal(document.body.textContent, "");
},
- */
"ignores null nodes": function() {
var body = d3.select("body");
body[0][0] = null;
Please sign in to comment.
Something went wrong with that request. Please try again.