Index: lib/polyfills/fetch.js
===================================================================
--- a/lib/polyfills/fetch.js
+++ b/lib/polyfills/fetch.js
@@ -15,10 +15,10 @@
* along with Adblock Plus. If not, see .
*/
-"use strict";
-
(function(global)
{
+ "use strict";
+
function Response(xhr)
{
this._xhr = xhr;
Index: lib/polyfills/promise.js
===================================================================
--- a/lib/polyfills/promise.js
+++ b/lib/polyfills/promise.js
@@ -15,10 +15,10 @@
* along with Adblock Plus. If not, see .
*/
-"use strict";
-
(function(global)
{
+ "use strict";
+
if ("Promise" in global)
return;
Index: lib/polyfills/url.js
===================================================================
--- a/lib/polyfills/url.js
+++ b/lib/polyfills/url.js
@@ -15,10 +15,10 @@
* along with Adblock Plus. If not, see .
*/
-"use strict";
-
(function(global)
{
+ "use strict";
+
var URLProperties = ["href", "protocol", "hostname",
"host", "pathname", "search"];