Commit 7ac9a5db authored by David Poncelow's avatar David Poncelow
Browse files

Add sizzle selector dependency to node module build.

parent d3c33243
var self = this,
globals = ["document", "window", "navigator", "CSSStyleDeclaration", "d3"],
globals = ["document", "window", "navigator", "CSSStyleDeclaration", "d3", "Sizzle"],
globalValues = {};
globals.forEach(function(global) {
......@@ -11,6 +11,8 @@ window = document.createWindow();
navigator = window.navigator;
CSSStyleDeclaration = window.CSSStyleDeclaration;
Sizzle = require('sizzle');
require("./d3.v2");
module.exports = d3;
......
......@@ -21,7 +21,8 @@
},
"main": "index.js",
"dependencies": {
"jsdom": "0.2.12"
"jsdom": "0.2.12",
"sizzle": "*"
},
"devDependencies": {
"uglify-js": "1.2.3",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment