mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Linted all files.
This commit is contained in:
parent
6c46d28593
commit
0904d8e2a6
6 changed files with 31 additions and 10 deletions
|
@ -1,16 +1,17 @@
|
|||
/* jslint moz: true */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
(function(){
|
||||
"use strict";
|
||||
const { Cu } = require('chrome');
|
||||
const { on } = require('sdk/system/events');
|
||||
const self = require('sdk/self');
|
||||
const { Cu } = require("chrome");
|
||||
const { on } = require("sdk/system/events");
|
||||
const self = require("sdk/self");
|
||||
const { AddonManager } = Cu.import("resource://gre/modules/AddonManager.jsm");
|
||||
const { setTimeout } = require("sdk/timers");
|
||||
const { loadSheet } = require("sdk/stylesheet/utils");
|
||||
AddonManager.getAddonByID(self.id, function(addon){
|
||||
on('addon-options-displayed', onAddonOptionsDisplayed, true);
|
||||
on("addon-options-displayed", onAddonOptionsDisplayed, true);
|
||||
});
|
||||
|
||||
function onAddonOptionsDisplayed({ subject: doc, data }) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue