From a44fd6c46906f86d61b379841ec674d8ab57acee Mon Sep 17 00:00:00 2001 From: Sebastian Kupke Date: Fri, 2 Aug 2019 11:39:56 +0200 Subject: [PATCH] Removed d3 from globals. --- .eslintrc | 1 - gulpfile.js | 24 ++++++------------------ 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/.eslintrc b/.eslintrc index 290b33b..e060e9c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -22,7 +22,6 @@ "TweenMax": false, "TimelineLite": false, "TimelineMax": false, - "d3": false, "SystemJS": false, "app": true }, diff --git a/gulpfile.js b/gulpfile.js index e818761..751ce24 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -38,13 +38,9 @@ function vendors() { } function preload() { - return src( - [ - './node_modules/gsap/src/uncompressed/TweenMax.js', - './lib/3rdparty/convertPointFromPageToNode.js' - ], - { sourcemaps: false } - ) + return src(['./node_modules/gsap/src/uncompressed/TweenMax.js', './lib/3rdparty/convertPointFromPageToNode.js'], { + sourcemaps: false + }) .pipe(concat('iwmlib.3rdparty.preload.js')) .pipe(replace(/^\/\/# sourceMappingURL=.*$/gim, '')) .pipe(dest('dist', { sourcemaps: false })) @@ -54,17 +50,9 @@ function preload() { } function prettify() { - return src( - [ - './lib/*.js', - './lib/card/*.js', - './lib/pixi/*.js', - '!./lib/bootstrap.babel.js' - ], - { - base: './lib' - } - ) + return src(['./lib/*.js', './lib/card/*.js', './lib/pixi/*.js', '!./lib/bootstrap.babel.js'], { + base: './lib' + }) .pipe( prettier({ singleQuote: true,