Index: lib/main.js |
=================================================================== |
--- a/lib/main.js |
+++ b/lib/main.js |
@@ -21,17 +21,16 @@ Cu.import("resource://gre/modules/XPCOMU |
// Import prefs from old branch if there are any |
let {Prefs} = require("prefs"); |
Prefs.migrate("extensions.typed-it-collection.domainOptInAsk", "domainOptInAsk"); |
Prefs.migrate("extensions.typed-it-collection.domainOptIn", "domainOptIn"); |
Thomas Greiner
2016/12/07 15:43:35
Looks like we no longer need to migrate the above
Wladimir Palant
2016/12/08 12:48:14
Done.
|
Prefs.migrate("extensions.typed-it-collection.counter", "counter"); |
require("typoFixer"); |
-require("typoCollector"); |
// Execute first-run actions once the session is restored |
{ |
let observer = |
{ |
observe: function(subject, topic, data) |
{ |
removeHandler(); |
@@ -81,11 +80,9 @@ function onBrowserInitialized() |
if ("Browser" in window && typeof window.Browser.addTab != 'undefined') |
{ |
// window.Browser.addTab(url, true); |
// No firstrun on Fennec. |
} |
else if ("gBrowser" in window) |
window.gBrowser.loadOneTab(url, {inBackground: false}); |
} |
- |
- require("typoCollector").onBrowserInitialized(window); |
} |