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

Unified Diff: chrome/content/crawler_ui.js

Issue 9084006: task.js: cooperative multitasking for long-running tasks (Closed)
Patch Set: Created Dec. 26, 2012, 5:06 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 | « chrome/content/crawler.xul ('k') | chrome/content/task_test_ui.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/crawler_ui.js
===================================================================
--- a/chrome/content/crawler_ui.js
+++ b/chrome/content/crawler_ui.js
@@ -29,11 +29,13 @@
function onUnload()
{
const fields = ["backend-url", "parallel-tabs"];
- fields.forEach( function ( field )
- {
- let control = document.getElementById( field );
- control.setAttribute( "value", control.value );
- } );
+ fields.forEach(
+ function ( field )
+ {
+ let control = document.getElementById( field );
+ control.setAttribute( "value", control.value );
+ }
+ );
}
function getBackendUrl()
« no previous file with comments | « chrome/content/crawler.xul ('k') | chrome/content/task_test_ui.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld