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

Unified Diff: background.js

Issue 29322488: Issue 2376 - mockup causing error (Closed)
Patch Set: Fixed 80 char limit Created July 15, 2015, 5:54 p.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -175,8 +175,10 @@
{
if (params.filterError)
return {errors: ["Invalid filter"]};
- return {filters:
- text.split("\n").map(modules.filterClasses.Filter.fromText)};
+ return {
+ filters: text.split("\n").map(modules.filterClasses.Filter.fromText),
+ errors: []
+ };
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld