summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-19 09:16:25 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-19 09:16:25 +0200
commit56eb74dbedb8663070f837deee42d31d027e3dd7 (patch)
tree94c5bbbb4cd7dabc9561dfd44de8d7d347c080b8 /application/basilisk/base/content/browser.js
parent8c3d0aaca0d1db89a3a23665cfde43980c6191ed (diff)
parentc423bdaf0364fe1dd3b540145779ccd0c6a053f7 (diff)
downloadUXP-56eb74dbedb8663070f837deee42d31d027e3dd7.tar
UXP-56eb74dbedb8663070f837deee42d31d027e3dd7.tar.gz
UXP-56eb74dbedb8663070f837deee42d31d027e3dd7.tar.lz
UXP-56eb74dbedb8663070f837deee42d31d027e3dd7.tar.xz
UXP-56eb74dbedb8663070f837deee42d31d027e3dd7.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'application/basilisk/base/content/browser.js')
-rw-r--r--application/basilisk/base/content/browser.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/application/basilisk/base/content/browser.js b/application/basilisk/base/content/browser.js
index 4f4ebb08f..d45956191 100644
--- a/application/basilisk/base/content/browser.js
+++ b/application/basilisk/base/content/browser.js
@@ -45,7 +45,6 @@ Cu.import("resource://gre/modules/NotificationDB.jsm");
["SitePermissions", "resource:///modules/SitePermissions.jsm"],
["TabCrashHandler", "resource:///modules/ContentCrashHandlers.jsm"],
["Task", "resource://gre/modules/Task.jsm"],
- ["Translation", "resource:///modules/translation/Translation.jsm"],
["UpdateUtils", "resource://gre/modules/UpdateUtils.jsm"],
["Weave", "resource://services-sync/main.js"],
["fxAccounts", "resource://gre/modules/FxAccounts.jsm"],
@@ -969,7 +968,6 @@ var gBrowserInit = {
// the listener is registered.
DOMLinkHandler.init();
gPageStyleMenu.init();
- LanguageDetectionListener.init();
BrowserOnClick.init();
FeedHandler.init();
DevEdition.init();
@@ -5680,16 +5678,6 @@ function setStyleDisabled(disabled) {
gPageStyleMenu.disableStyle();
}
-
-var LanguageDetectionListener = {
- init: function() {
- window.messageManager.addMessageListener("Translation:DocumentState", msg => {
- Translation.documentStateReceived(msg.target, msg.data);
- });
- }
-};
-
-
var BrowserOffline = {
_inited: false,