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"); |
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); |
} |