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

Unified Diff: messageResponder.js

Issue 29339099: Noissue - Rename message type when propagating events to the content script (Closed)
Patch Set: Rename *.event to *.respond Created March 29, 2016, 11:11 a.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 | « firstRun.js ('k') | options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
===================================================================
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -72,10 +72,10 @@
var listenedPreferences = Object.create(null);
var listenedFilterChanges = Object.create(null);
var messageTypes = {
- "app": "app.listen",
- "filter": "filters.listen",
- "pref": "prefs.listen",
- "subscription": "subscriptions.listen"
+ "app": "app.respond",
+ "filter": "filters.respond",
+ "pref": "prefs.respond",
+ "subscription": "subscriptions.respond"
};
function sendMessage(type, action)
« no previous file with comments | « firstRun.js ('k') | options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld