diff --git a/platform/safari/vapi-background.js b/platform/safari/vapi-background.js index ae2d9c4855ece..95b898626a2a4 100644 --- a/platform/safari/vapi-background.js +++ b/platform/safari/vapi-background.js @@ -23,13 +23,12 @@ // For background page -/******************************************************************************/ +'use strict'; +/******************************************************************************/ (function() { - 'use strict'; - var vAPI = self.vAPI = self.vAPI || {}; vAPI.isMainProcess = true; diff --git a/platform/safari/vapi-client.js b/platform/safari/vapi-client.js index 5b96ba2f37bec..722c3fc0aff07 100644 --- a/platform/safari/vapi-client.js +++ b/platform/safari/vapi-client.js @@ -18,9 +18,11 @@ Home: https://github.com/gorhill/uBlock */ -/******************************************************************************/ 'use strict'; + +/******************************************************************************/ + // For non background pages (function(self) { diff --git a/platform/safari/vapi-common.js b/platform/safari/vapi-common.js index 6f363dc4ebc5d..a2285462b71b7 100644 --- a/platform/safari/vapi-common.js +++ b/platform/safari/vapi-common.js @@ -21,12 +21,12 @@ // For background page or non-background pages +'use strict'; + /******************************************************************************/ (function() { -'use strict'; - var vAPI = self.vAPI = self.vAPI || {}; /******************************************************************************/