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

Unified Diff: lib/commandLine.js

Issue 29355247: Noissue - fix according to coding style (Closed)
Patch Set: Created Sept. 29, 2016, 8:46 a.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 | lib/crawler.js » ('j') | lib/crawler.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/commandLine.js
diff --git a/lib/commandLine.js b/lib/commandLine.js
index d0a6f4b4c488c7d25f64cdf7a60a5a09f09a5327..e16a7175aa9982c87e1d0712db5847d3961c6fcb 100644
--- a/lib/commandLine.js
+++ b/lib/commandLine.js
@@ -4,12 +4,13 @@
* http://mozilla.org/MPL/2.0/.
*/
+'use strict';
Wladimir Palant 2016/09/29 10:36:10 Double quotation marks please (same for the other
sergei 2016/09/29 12:46:16 Done in https://codereview.adblockplus.org/2935526
+
/**
* @module commandLine
*/
-Cu.import("resource://gre/modules/Services.jsm");
-Cu.import("resource://gre/modules/XPCOMUtils.jsm");
+const {XPCOMUtils} = Cu.import("resource://gre/modules/XPCOMUtils.jsm", {});
let CommandLineHandler =
{
« no previous file with comments | « no previous file | lib/crawler.js » ('j') | lib/crawler.js » ('J')

Powered by Google App Engine
This is Rietveld