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

Unified Diff: background.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Address PS4 comments, rebase Created April 5, 2018, 11:09 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 | « no previous file | composer.postload.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -12,17 +12,17 @@
* 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";
-const {port} = require("messaging");
+const {port} = require("./lib/messaging");
port.on("forward", (msg, sender) =>
{
let targetPage;
if (msg.targetPageId)
targetPage = ext.getPage(msg.targetPageId);
else
targetPage = sender.page;
« no previous file with comments | « no previous file | composer.postload.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld