]> source.dussan.org Git - vaadin-core.git/commitdiff
Add missing semicolons
authorTeemu Pöntelin <teemu@vaadin.com>
Tue, 15 Dec 2015 13:17:45 +0000 (15:17 +0200)
committerTeemu Pöntelin <teemu@vaadin.com>
Tue, 15 Dec 2015 13:17:45 +0000 (15:17 +0200)
tasks/docsite.js
tasks/zip.js

index 2526f8d0671af39752bf10e691ebbb92e944189c..811bbb0ca6953d96806daae135b55ee29f2701d3 100644 (file)
@@ -33,7 +33,7 @@ gulp.task('cdn:docsite:bower_components', ['cdn:stage-bower_components'], functi
     .pipe(modify({
       fileModifier: function(file, contents) {
         if (/webcomponents-lite.*js/.test(file.path)) {
-          contents = contents.replace(/(if ?\()(\w+\.log)(\))/mg, '$1$2 && $2.split$3')
+          contents = contents.replace(/(if ?\()(\w+\.log)(\))/mg, '$1$2 && $2.split$3');
         }
         return contents;
       }
@@ -115,9 +115,7 @@ gulp.task('cdn:docsite:upload', ['cdn:docsite:clean', 'cdn:docsite:zip'], functi
     path: args.cdnDestination + version
   }, function(err) {
     done(err);
-  })
+  });
 });
 
 gulp.task('cdn:docsite', ['cdn:docsite:upload']);
-
-
index 43b21f3dbf81a47d9fc66f6ea51f52a520f52a35..f8f35716f11ed2ee7f6d6ee6277260362816a873 100644 (file)
@@ -41,7 +41,7 @@ gulp.task('zip:upload', ['stage:zip'], function(done) {
     path: dst
   }, function(err) {
     done(err);
-  })
+  });
 });
 
 gulp.task('zip:update-references', ['zip:upload'], function(done) {