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

Side by Side Diff: ext/content.js

Issue 29403564: Issue 5083 - Merges chrome subdirectory to top level directory (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome
Patch Set: Created April 5, 2017, 10:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 "use strict"; 1 "use strict";
2 2
3 chrome.runtime.onMessage.addListener((message, sender, sendResponse) => 3 chrome.runtime.onMessage.addListener((message, sender, sendResponse) =>
4 { 4 {
5 return ext.onMessage._dispatch(message, {}, sendResponse).indexOf(true) != -1; 5 return ext.onMessage._dispatch(message, {}, sendResponse).indexOf(true) != -1;
6 }); 6 });
7 7
8 (function() 8 (function()
9 { 9 {
10 let port = null; 10 let port = null;
(...skipping 16 matching lines...) Expand all
27 27
28 if (!port.onDisconnect.hasListeners()) 28 if (!port.onDisconnect.hasListeners())
29 { 29 {
30 port.disconnect(); 30 port.disconnect();
31 port = null; 31 port = null;
32 } 32 }
33 } 33 }
34 } 34 }
35 }; 35 };
36 }()); 36 }());
OLDNEW

Powered by Google App Engine
This is Rietveld