OLD | NEW |
1 #filter substitution | 1 #filter substitution |
2 // -*- Mode: js2; tab-width: 2; indent-tabs-mode: nil; js2-basic-offset: 2; js2-
skip-preprocessor-directives: t; -*- | 2 // -*- Mode: js2; tab-width: 2; indent-tabs-mode: nil; js2-basic-offset: 2; js2-
skip-preprocessor-directives: t; -*- |
3 /* This Source Code Form is subject to the terms of the Mozilla Public | 3 /* This Source Code Form is subject to the terms of the Mozilla Public |
4 * License, v. 2.0. If a copy of the MPL was not distributed with this | 4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 "use strict"; | 6 "use strict"; |
7 | 7 |
8 let Cc = Components.classes; | 8 let Cc = Components.classes; |
9 let Ci = Components.interfaces; | 9 let Ci = Components.interfaces; |
10 let Cu = Components.utils; | 10 let Cu = Components.utils; |
(...skipping 8430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8441 return { | 8441 return { |
8442 id: this.id, | 8442 id: this.id, |
8443 icon: elt.icon, | 8443 icon: elt.icon, |
8444 label: elt.label, | 8444 label: elt.label, |
8445 disabled: elt.disabled, | 8445 disabled: elt.disabled, |
8446 menu: elt instanceof Ci.nsIDOMHTMLMenuElement | 8446 menu: elt instanceof Ci.nsIDOMHTMLMenuElement |
8447 }; | 8447 }; |
8448 } | 8448 } |
8449 }, | 8449 }, |
8450 }); | 8450 }); |
| 8451 |
| 8452 let {AdblockPlusApi} = Cu.import("chrome://adblockplus/content/Api.jsm"); |
| 8453 AdblockPlusApi.initCommunication(); |
| 8454 |
OLD | NEW |