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

Unified Diff: lib/subscriptionInit.js

Issue 29371763: Issue 4795 - Use modern JavaScript syntax (Closed)
Patch Set: Fix scoping regression Created Jan. 16, 2017, 9:12 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
« lib/notificationHelper.js ('K') | « lib/stats.js ('k') | lib/tldjs.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/subscriptionInit.js
diff --git a/lib/subscriptionInit.js b/lib/subscriptionInit.js
index 211fcb343adc88a79220ca2616899bc400c40357..ed6f782e42824f7eae910844add88c7b3cd0c92d 100644
--- a/lib/subscriptionInit.js
+++ b/lib/subscriptionInit.js
@@ -180,7 +180,7 @@ exports.reinitialized = false;
*
* @param {function}
*/
-exports.setSubscriptionsCallback = function(callback)
+exports.setSubscriptionsCallback = callback =>
{
subscriptionsCallback = callback;
};
« lib/notificationHelper.js ('K') | « lib/stats.js ('k') | lib/tldjs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld