From 9b48c89c3f15f076d5777f95d6ad0a2aa304cf49 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 8 Jun 2015 21:42:44 +0200 Subject: [PATCH] svg4everybody, bundle more js in main file --- _src/_includes/footer.html | 1 - gulpfile.js | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/_src/_includes/footer.html b/_src/_includes/footer.html index e2a4445d..eb4a7525 100644 --- a/_src/_includes/footer.html +++ b/_src/_includes/footer.html @@ -54,7 +54,6 @@ - diff --git a/gulpfile.js b/gulpfile.js index 294ed5d2..70e69f28 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -160,11 +160,9 @@ gulp.task('css', function() { // Libraries gulp.task('js-libraries', function() { var jquery = gulp.src('node_modules/jquery/dist/jquery.js'), - picturefill = gulp.src('node_modules/picturefill/dist/picturefill.js'), - CustomElements = gulp.src('node_modules/webcomponents.js/CustomElements.js'), - svg4everybody = gulp.src('node_modules/svg4everybody/svg4everybody.js') + picturefill = gulp.src('node_modules/picturefill/dist/picturefill.js'); - return merge(jquery, picturefill, CustomElements, svg4everybody) + return merge(jquery, picturefill) .pipe($.uglify()) .pipe($.rename({ suffix: '.min' @@ -175,6 +173,8 @@ gulp.task('js-libraries', function() { // Project js gulp.task('js-project', function() { return gulp.src([ + 'node_modules/webcomponents.js/CustomElements.js', + 'node_modules/svg4everybody/svg4everybody.js', 'node_modules/masonry-layout/dist/masonry.pkgd.js', 'node_modules/imagesloaded/imagesloaded.js', 'bower_components/simple-jekyll-search/dest/jekyll-search.js',