From db83931fb7f2cbd790748a8b71b03462dfd3e321 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Sun, 19 Oct 2014 13:11:27 +0200 Subject: [PATCH] Add .jshintrc, and use the "use strict" directive .jshintrc's otion-set is a personal choice, merely a suggestion. Beside that, it includes some common globals for specific browsers, so there's no need to set the globals in every .js file. In order to force strict coding, "use strict" directive was added into every .js file. --- src/js/vapi-common.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/js/vapi-common.js b/src/js/vapi-common.js index 2997a11..d70c449 100644 --- a/src/js/vapi-common.js +++ b/src/js/vapi-common.js @@ -1,5 +1,4 @@ // only for background and other extension pages -/* global chrome, Components, BeforeLoadEvent */ (function() { 'use strict';