Skip to content

Commit

Permalink
Merge pull request #441 from hetz/hetz-patch-gulp-uglify
Browse files Browse the repository at this point in the history
Update d3.js
  • Loading branch information
knsv committed Jan 3, 2017
2 parents 2d2f0b9 + be4bbed commit 1903154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//log.debug('Setting up d3');
var d3;

if (require) {
if (typeof require!=='undefined') {
try {
d3 = require('d3');
} catch (e) {
Expand Down Expand Up @@ -491,4 +491,4 @@ module.exports = d3;
}

})();
/* jshint ignore:end */
/* jshint ignore:end */

0 comments on commit 1903154

Please sign in to comment.