From b44773ac14d8dcb293c64d80ad364586dd3e879d Mon Sep 17 00:00:00 2001 From: John Foerch Date: Tue, 6 May 2014 09:55:05 -0400 Subject: [PATCH] various whitespace --- modules/casual-spelling.jsx | 2 +- modules/coroutine.js | 2 +- modules/download-manager.js | 4 ++-- modules/opensearch.js | 2 +- modules/spawn-process.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/casual-spelling.jsx b/modules/casual-spelling.jsx index e15e52c..96a030f 100644 --- a/modules/casual-spelling.jsx +++ b/modules/casual-spelling.jsx @@ -46,7 +46,7 @@ function make_table (table) { /** - * make_table_from_ranges is a constructor of a casual-spelling + * make_table_from_ranges is a constructor of a casual-spelling * table which generates the table from a shorthand form * called a "range table". A range table is an array where each element * is an array of three elements: range-low, range-high, and range-spec. diff --git a/modules/coroutine.js b/modules/coroutine.js index b246bf7..851c492 100644 --- a/modules/coroutine.js +++ b/modules/coroutine.js @@ -399,7 +399,7 @@ _co_impl.prototype = { // Cancelation has been successfully delivered, remove pending cancelation if (throw_value && this.pending_cancelation == y && y !== undefined) this.pending_cancelation = undefined; - + while (true) { try { // We must capture any exception thrown by `f' diff --git a/modules/download-manager.js b/modules/download-manager.js index f94619d..da845f3 100644 --- a/modules/download-manager.js +++ b/modules/download-manager.js @@ -112,7 +112,7 @@ download_info.prototype = { }, // Download manager operations - cancel: function () { + cancel: function () { this.throw_if_removed(); switch (this.state) { case DOWNLOAD_DOWNLOADING: @@ -670,7 +670,7 @@ download_buffer.prototype = { return true; } return false; - } catch (e) { + } catch (e) { dump_error(e); throw e; } diff --git a/modules/opensearch.js b/modules/opensearch.js index 16d797b..adb21da 100644 --- a/modules/opensearch.js +++ b/modules/opensearch.js @@ -312,7 +312,7 @@ function define_opensearch_webjump (name, spec) { let alternative = arguments.$alternative; var path = null; - if (spec instanceof Ci.nsIFile) + if (spec instanceof Ci.nsIFile) path = spec; else { for (i = 0, n = opensearch_load_paths.length; i < n; ++i) { diff --git a/modules/spawn-process.js b/modules/spawn-process.js index 1813de4..83427f5 100644 --- a/modules/spawn-process.js +++ b/modules/spawn-process.js @@ -92,7 +92,7 @@ var spawn_process_helper_setup_timeout = 2000; * An array of strings to pass as the arguments to the program. The * first argument should be the program name. These strings must not * have any NUL bytes in them. - * @param working_dir + * @param working_dir * If non-null, must be an nsILocalFile. spawn_process will switch * to this path before running the program. * @param finished_callback -- 2.11.4.GIT