Index: composer.postload.js |
=================================================================== |
--- a/composer.postload.js |
+++ b/composer.postload.js |
@@ -10,22 +10,19 @@ |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
* 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"; |
+/* globals checkCollapse, elemhide, getURLsFromElement, typeMap */ |
Manish Jethani
2017/10/26 20:47:56
This is back to where it was.
|
-// We would rather export these properly and then require("include.preload") |
-// here, but that would result in include.preload running both at pre and post |
-// load. |
-const {checkCollapse, elemhide, getURLsFromElement, typeMap} = window; |
+"use strict"; |
// The page ID for the popup filter selection dialog (top frame only). |
let blockelementPopupId = null; |
// Element picking state (top frame only). |
let currentlyPickingElement = false; |
let lastMouseOverEvent = null; |