From 07bf8e53c1e6fbf6503bebc170622ab161cf3b8f Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Wed, 3 Apr 2019 11:01:28 -0700 Subject: [PATCH] Renamed GlobalHook content script references to injectGlobalHook to avoid confusion --- shells/browser/chrome/manifest.json | 2 +- shells/browser/firefox/manifest.json | 2 +- .../browser/shared/src/{GlobalHook.js => injectGlobalHook.js} | 0 shells/browser/shared/webpack.config.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename shells/browser/shared/src/{GlobalHook.js => injectGlobalHook.js} (100%) diff --git a/shells/browser/chrome/manifest.json b/shells/browser/chrome/manifest.json index 3fba06d99f..3c1556380e 100644 --- a/shells/browser/chrome/manifest.json +++ b/shells/browser/chrome/manifest.json @@ -52,7 +52,7 @@ "content_scripts": [ { "matches": [""], - "js": ["build/inject.js"], + "js": ["build/injectGlobalHook.js"], "run_at": "document_start" } ] diff --git a/shells/browser/firefox/manifest.json b/shells/browser/firefox/manifest.json index 026dd05dd6..a7969cb304 100644 --- a/shells/browser/firefox/manifest.json +++ b/shells/browser/firefox/manifest.json @@ -58,7 +58,7 @@ "content_scripts": [ { "matches": [""], - "js": ["build/inject.js"], + "js": ["build/injectGlobalHook.js"], "run_at": "document_start" } ] diff --git a/shells/browser/shared/src/GlobalHook.js b/shells/browser/shared/src/injectGlobalHook.js similarity index 100% rename from shells/browser/shared/src/GlobalHook.js rename to shells/browser/shared/src/injectGlobalHook.js diff --git a/shells/browser/shared/webpack.config.js b/shells/browser/shared/webpack.config.js index b33c9248dd..42fc877751 100644 --- a/shells/browser/shared/webpack.config.js +++ b/shells/browser/shared/webpack.config.js @@ -15,7 +15,7 @@ module.exports = { entry: { background: './src/background.js', contentScript: './src/contentScript.js', - inject: './src/GlobalHook.js', + injectGlobalHook: './src/injectGlobalHook.js', main: './src/main.js', panel: './src/panel.js', renderer: './src/renderer.js',