Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(435)

Unified Diff: app/models/models.js

Issue 8713043: Fix add_relation in fakebackend.
Patch Set: Fix add_relation in fakebackend. Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | app/store/env/fakebackend.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/models/models.js
=== modified file 'app/models/models.js'
--- app/models/models.js 2013-04-11 09:50:15 +0000
+++ app/models/models.js 2013-04-12 16:04:02 +0000
@@ -394,7 +394,9 @@
return this.filter({asList: Boolean(asList)}, function(relation) {
return Y.Array.some(
relation.get('endpoints'),
- function(endpoint) { return endpoint[0] === service_id; });
+ function(endpoint) {
+ return endpoint[0] === service_id;
+ });
});
}
}, {
« no previous file with comments | « [revision details] ('k') | app/store/env/fakebackend.js » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b