~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/bootstrap.js

  • Committer: Yvon Tanguy
  • Date: 2016-04-19 17:32:48 UTC
  • Revision ID: vono22@yahoo.fr-20160419173248-bf1kb8b7cfk7lpic
ESLint: Fix some warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
"use strict";
24
24
 
25
25
Components.utils.import("resource://gre/modules/Services.jsm");
26
 
Components.utils.import("resource://gre/modules/devtools/Console.jsm");
27
26
Components.utils.import("resource://gre/modules/FileUtils.jsm");
28
27
Components.utils.import("resource://gre/modules/NetUtil.jsm");
29
28
Components.utils.import("resource://gre/modules/Timer.jsm");
30
29
 
 
30
try {
 
31
  Components.utils.import("resource://gre/modules/Console.jsm");
 
32
} catch (ex) {
 
33
  Components.utils.import("resource://gre/modules/devtools/Console.jsm");
 
34
}
 
35
 
31
36
var addonData  = null;
32
37
var currReason = null;
33
38
var self       = this;
383
388
      "chrome://cookiekeeper/content/prefs.main.xul",
384
389
      "chrome://cookiekeeper/content/ck.editor.cookie.xul",
385
390
      "chrome://cookiekeeper/content/ck.editor.dom_storage.xul",
386
 
      "chrome://cookiekeeper/content/ck.editor.lso.xul",
 
391
      "chrome://cookiekeeper/content/ck.editor.lso.xul"
387
392
    ];
388
393
 
389
394
    logMessage(reasonToString(reason) + ": cleaning");