| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This Source Code is subject to the terms of the Mozilla Public License | 2 * This Source Code is subject to the terms of the Mozilla Public License |
| 3 * version 2.0 (the "License"). You can obtain a copy of the License at | 3 * version 2.0 (the "License"). You can obtain a copy of the License at |
| 4 * http://mozilla.org/MPL/2.0/. | 4 * http://mozilla.org/MPL/2.0/. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 "use strict"; |
| 8 |
| 7 /** | 9 /** |
| 8 * @module main | 10 * @module main |
| 9 */ | 11 */ |
| 10 | 12 |
| 11 Cu.import("resource://gre/modules/XPCOMUtils.jsm"); | 13 Cu.import("resource://gre/modules/XPCOMUtils.jsm"); |
| 12 Cu.import("resource://gre/modules/Services.jsm"); | 14 Cu.import("resource://gre/modules/Services.jsm"); |
| 13 Cu.import("resource://gre/modules/Promise.jsm"); | 15 Cu.import("resource://gre/modules/Promise.jsm"); |
| 14 | 16 |
| 15 require("commandLine"); | 17 require("commandLine"); |
| 16 let {run} = require("crawler"); | 18 let {run} = require("crawler"); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 85 |
| 84 /** | 86 /** |
| 85 * Called if requesting parameters failed. | 87 * Called if requesting parameters failed. |
| 86 * | 88 * |
| 87 * @param {Event} event | 89 * @param {Event} event |
| 88 */ | 90 */ |
| 89 function onParametersFailed(event) | 91 function onParametersFailed(event) |
| 90 { | 92 { |
| 91 Cu.reportError("Failed loading parameters"); | 93 Cu.reportError("Failed loading parameters"); |
| 92 } | 94 } |
| OLD | NEW |