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

Unified Diff: chrome/content/ui/filters-subscriptionactions.js

Issue 4884233277407232: Issue 2257 - Replaced non-standard function expressions with ES6 arrow functions (Closed)
Patch Set: Rebased Created May 6, 2015, 10:46 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 | « chrome/content/ui/filters-search.js ('k') | chrome/content/ui/filters-subscriptionview.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/ui/filters-subscriptionactions.js
===================================================================
--- a/chrome/content/ui/filters-subscriptionactions.js
+++ b/chrome/content/ui/filters-subscriptionactions.js
@@ -49,7 +49,7 @@
let node = null;
let tabIndex = -1;
let subscriptions = filter.subscriptions.slice();
- subscriptions.sort(function(s1, s2) s1.disabled - s2.disabled);
+ subscriptions.sort((s1, s2) => s1.disabled - s2.disabled);
for (let i = 0; i < subscriptions.length; i++)
{
let subscription = subscriptions[i];
« no previous file with comments | « chrome/content/ui/filters-search.js ('k') | chrome/content/ui/filters-subscriptionview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld