Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include.preload.js

Issue 29529646: Issue 5584 - Update adblockpluscore dependency to hg:217eff0504a5 (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Properly use module for content script Created Aug. 29, 2017, 1:54 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dependencies ('k') | metadata.chrome » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include.preload.js
===================================================================
--- a/include.preload.js
+++ b/include.preload.js
@@ -10,19 +10,20 @@
* 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/>.
*/
-/* globals ElemHideEmulation, splitSelector */
+"use strict";
-"use strict";
+let {splitSelector} = require("common");
+let {ElemHideEmulation} = require("content_elemHideEmulation");
Wladimir Palant 2017/08/29 15:13:24 Mind you, this won't work any more once we switch
hub 2017/08/29 16:46:54 I'll add a not to issue #5080 then.
kzar 2017/08/30 10:22:20 Don't worry I've taken a note of it, I need to add
// This variable is also used by our other content scripts.
let elemhide;
const typeMap = new Map([
["img", "IMAGE"],
["input", "IMAGE"],
["picture", "IMAGE"],
« no previous file with comments | « dependencies ('k') | metadata.chrome » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld