From 70fdd5a2870fbbbaacf3e5bcc8a054886992e867 Mon Sep 17 00:00:00 2001 From: Martin Jul Date: Wed, 22 Oct 2014 23:46:54 +0200 Subject: [PATCH 1/2] Added missing semicolon after statement. --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 80ee672cac..b531f8b09c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -99,7 +99,7 @@ module.exports = function(grunt) { 'populist:test' ]); grunt.registerTask('build:npm-react', ['version-check', 'jsx:normal', 'npm-react:release']); - grunt.registerTask('build:gem-react-source', ['build', 'gem-react-source:release']) + grunt.registerTask('build:gem-react-source', ['build', 'gem-react-source:release']); grunt.registerTask('webdriver-phantomjs', webdriverPhantomJSTask); From c9fb57feb31ad7a84986cb54645d2cea1e63ddac Mon Sep 17 00:00:00 2001 From: Martin Jul Date: Thu, 23 Oct 2014 09:54:13 +0200 Subject: [PATCH 2/2] Added missing semicolons identified by using `grunt jshint:project`. --- vendor/browser-transforms.js | 2 +- vendor/constants.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/browser-transforms.js b/vendor/browser-transforms.js index 4a3e861254..fa13d13d60 100644 --- a/vendor/browser-transforms.js +++ b/vendor/browser-transforms.js @@ -238,7 +238,7 @@ function loadScripts(scripts) { sourceMap: true }; if (/;harmony=true(;|$)/.test(script.type)) { - options.harmony = true + options.harmony = true; } // script.async is always true for non-javascript script tags diff --git a/vendor/constants.js b/vendor/constants.js index 76a3cf8c50..9ef8de29a2 100644 --- a/vendor/constants.js +++ b/vendor/constants.js @@ -79,7 +79,7 @@ var visitors = { } this.traverse(nodePath); } -} +}; function transform(ast, constants) { // TODO constants