Skip to content

Commit f8514d3

Browse files
committed
Remove CSSStyleDeclaration fix.
This is no longer necessary with the upgrade to JSDOM 1.0.
1 parent f38ed05 commit f8514d3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ global.window = window;
88
if ("document" in global) globals.document = global.document;
99
global.document = document;
1010

11-
// https://github.com/chad3814/CSSStyleDeclaration/issues/3
12-
var CSSStyleDeclaration_prototype = window.CSSStyleDeclaration.prototype,
13-
CSSStyleDeclaration_setProperty = CSSStyleDeclaration_prototype.setProperty;
14-
CSSStyleDeclaration_prototype.setProperty = function(name, value, priority) {
15-
return CSSStyleDeclaration_setProperty.call(this, name + "", value == null ? null : value + "", priority == null ? null : priority + "");
16-
};
17-
1811
module.exports = require("./d3");
1912

2013
// restore globals

0 commit comments

Comments
 (0)