diff --git a/platform/chromium/vapi-common.js b/platform/chromium/vapi-common.js index 4df7b9968..6020d6665 100644 --- a/platform/chromium/vapi-common.js +++ b/platform/chromium/vapi-common.js @@ -1,7 +1,7 @@ /******************************************************************************* - µBlock - a browser extension to block requests. - Copyright (C) 2014 The µBlock authors + uBlock Origin - a browser extension to block requests. + Copyright (C) 2014-2016 The uBlock Origin authors This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,15 +21,13 @@ // For background page or non-background pages -/* global self */ +'use strict'; /******************************************************************************/ /******************************************************************************/ (function() { -'use strict'; - var vAPI = self.vAPI = self.vAPI || {}; var chrome = self.chrome; diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 3fbcf7487..5a7ed887e 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -24,12 +24,12 @@ // For background page +'use strict'; + /******************************************************************************/ (function() { -'use strict'; - /******************************************************************************/ const {classes: Cc, interfaces: Ci, utils: Cu} = Components; diff --git a/platform/firefox/vapi-common.js b/platform/firefox/vapi-common.js index 374890a66..265084d9a 100644 --- a/platform/firefox/vapi-common.js +++ b/platform/firefox/vapi-common.js @@ -1,7 +1,7 @@ /******************************************************************************* - µBlock - a browser extension to block requests. - Copyright (C) 2014 The µBlock authors + uBlock Origin - a browser extension to block requests. + Copyright (C) 2014-2016 The uBlock Orign authors This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,12 +23,12 @@ // For background page or non-background pages +'use strict'; + /******************************************************************************/ (function() { -'use strict'; - /******************************************************************************/ const {Services} = Components.utils.import(