From 3646ecbeb2cc59a2d706d758db60120e70e5be3c Mon Sep 17 00:00:00 2001 From: Deathamns Date: Sun, 28 Dec 2014 21:26:06 +0100 Subject: [PATCH] Code styling --- platform/firefox/frameScript.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/firefox/frameScript.js b/platform/firefox/frameScript.js index 2757873..5b9eadc 100644 --- a/platform/firefox/frameScript.js +++ b/platform/firefox/frameScript.js @@ -19,7 +19,7 @@ Home: https://github.com/gorhill/uBlock */ -/* globals Services, sendAsyncMessage, addMessageListener, removeMessageListener */ +/* globals addMessageListener, removeMessageListener */ /******************************************************************************/ @@ -47,7 +47,7 @@ frameScriptContext[appName + '_addMessageListener'] = function(id, fn) { }; frameScriptContext[appName + '_removeMessageListener'] = function(id) { - if (listeners[id]) { + if ( listeners[id] ) { removeMessageListener(id, listeners[id]); } @@ -57,7 +57,7 @@ frameScriptContext[appName + '_removeMessageListener'] = function(id) { /******************************************************************************/ addMessageListener(appName + ':broadcast', function(msg) { - for (let id in listeners) { + for ( let id in listeners ) { listeners[id](msg); } });