OLD | NEW |
1 // -*- Mode: js2; tab-width: 2; indent-tabs-mode: nil; js2-basic-offset: 2; js2-
skip-preprocessor-directives: t; -*- | 1 // -*- Mode: js2; tab-width: 2; indent-tabs-mode: nil; js2-basic-offset: 2; js2-
skip-preprocessor-directives: t; -*- |
2 /* This Source Code Form is subject to the terms of the Mozilla Public | 2 /* This Source Code Form is subject to the terms of the Mozilla Public |
3 * License, v. 2.0. If a copy of the MPL was not distributed with this | 3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
5 "use strict"; | 5 "use strict"; |
6 | 6 |
7 var Cc = Components.classes; | 7 var Cc = Components.classes; |
8 var Ci = Components.interfaces; | 8 var Ci = Components.interfaces; |
9 var Cu = Components.utils; | 9 var Cu = Components.utils; |
10 var Cr = Components.results; | 10 var Cr = Components.results; |
(...skipping 6790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6801 return { | 6801 return { |
6802 id: this.id, | 6802 id: this.id, |
6803 icon: elt.icon, | 6803 icon: elt.icon, |
6804 label: elt.label, | 6804 label: elt.label, |
6805 disabled: elt.disabled, | 6805 disabled: elt.disabled, |
6806 menu: elt instanceof HTMLMenuElement | 6806 menu: elt instanceof HTMLMenuElement |
6807 }; | 6807 }; |
6808 } | 6808 } |
6809 }, | 6809 }, |
6810 }); | 6810 }); |
6811 | |
6812 let {AdblockPlusApi} = Cu.import("chrome://adblockplus/content/Api.jsm"); | |
6813 AdblockPlusApi.initCommunication(); | |
6814 | |
OLD | NEW |