Modernization of build environment. Less gulp, more npm. Eslint.

This commit is contained in:
knsv
2015-10-12 07:37:02 +02:00
parent ed65e6df3b
commit 658ed3d790
34 changed files with 3459 additions and 2828 deletions

4
src/d3.js vendored
View File

@@ -4,7 +4,7 @@ var d3;
if (require) {
try {
d3 = require("d3");
d3 = require('d3');
} catch (e) {
//log.debug('Exception ... but ok');
//log.debug(e);
@@ -215,7 +215,7 @@ module.exports = d3;
var foreign_object = parent.append('foreignObject');
// add foreign object and set dimensions, position, etc
foreign_object
.attr("requiredFeatures", "http://www.w3.org/TR/SVG11/feature#Extensibility")
.attr('requiredFeatures', 'http://www.w3.org/TR/SVG11/feature#Extensibility')
.attr('x', bounds.x)
.attr('y', bounds.y)
.attr('width', bounds.width)