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

Unified Diff: lib/sync.js

Issue 6305806509146112: Issue 427 - Remove non-standard function and getter syntax (Closed)
Patch Set: Wow sorry for those wrong braces, I am so used to a different style that I didn't even realize what… Created May 18, 2014, 10:51 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 | « lib/subscriptionClasses.js ('k') | lib/synchronizer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/sync.js
===================================================================
--- a/lib/sync.js
+++ b/lib/sync.js
@@ -301,17 +301,17 @@ ABPStore.prototype =
for (let remoteFilter of remoteSubscription.filters)
{
seenFilter[remoteFilter.text] = true;
let filter = Filter.fromText(remoteFilter.text);
if (trackerInstance.didFilterChange(filter))
continue;
- if (filter.subscriptions.some(function(subscription) subscription instanceof SpecialSubscription))
+ if (filter.subscriptions.some((subscription) => subscription instanceof SpecialSubscription))
{
// Filter might have been changed remotely
if (filter instanceof ActiveFilter)
filter.disabled = remoteFilter.disabled;
}
else
{
// Filter was added remotely, add it locally as well
« no previous file with comments | « lib/subscriptionClasses.js ('k') | lib/synchronizer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld