| Index: ext/common.js |
| =================================================================== |
| --- a/ext/common.js |
| +++ b/ext/common.js |
| @@ -12,17 +12,16 @@ |
| * GNU General Public License for more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| "use strict"; |
| -(function() |
| { |
| window.ext = {}; |
| let EventTarget = ext._EventTarget = function() |
| { |
| this._listeners = new Set(); |
| }; |
| EventTarget.prototype = { |
| @@ -44,9 +43,9 @@ |
| return results; |
| } |
| }; |
| /* Message passing */ |
| ext.onMessage = new ext._EventTarget(); |
| -}()); |
| +} |