From eac8d9dd78179133abd9220c518f1913e0da51c0 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Sat, 8 Jul 2017 13:03:13 +0200 Subject: [PATCH] folder structure --- background.js => js/background.js | 0 devtools.js => js/devtools.js | 0 inject.js => js/inject.js | 0 panel.js => js/panel.js | 0 popup.js => js/popup.js | 0 manifest.json | 8 ++++---- devtools.html => views/devtools.html | 2 +- panel.html => views/panel.html | 2 +- popup.html => views/popup.html | 2 +- 9 files changed, 7 insertions(+), 7 deletions(-) rename background.js => js/background.js (100%) rename devtools.js => js/devtools.js (100%) rename inject.js => js/inject.js (100%) rename panel.js => js/panel.js (100%) rename popup.js => js/popup.js (100%) rename devtools.html => views/devtools.html (59%) rename panel.html => views/panel.html (78%) rename popup.html => views/popup.html (63%) diff --git a/background.js b/js/background.js similarity index 100% rename from background.js rename to js/background.js diff --git a/devtools.js b/js/devtools.js similarity index 100% rename from devtools.js rename to js/devtools.js diff --git a/inject.js b/js/inject.js similarity index 100% rename from inject.js rename to js/inject.js diff --git a/panel.js b/js/panel.js similarity index 100% rename from panel.js rename to js/panel.js diff --git a/popup.js b/js/popup.js similarity index 100% rename from popup.js rename to js/popup.js diff --git a/manifest.json b/manifest.json index 98d2199..caca941 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "Piwik Checker", "description": "__MSG_extention_description__", "version": "0.1", - "devtools_page": "devtools.html", + "devtools_page": "views/devtools.html", "permissions": [ "webRequest", "webRequestBlocking", @@ -13,7 +13,7 @@ ], "background": { "scripts": [ - "background.js" + "js/background.js" ] }, "icons": { @@ -28,12 +28,12 @@ "32": "images/icon32.png" }, "default_title": "Piwik Checker", - "default_popup": "popup.html" + "default_popup": "views/popup.html" }, "content_scripts": [ { "js": [ - "inject.js" + "js/inject.js" ], "matches": [ "*://*/*" diff --git a/devtools.html b/views/devtools.html similarity index 59% rename from devtools.html rename to views/devtools.html index 522849c..f24e5ee 100644 --- a/devtools.html +++ b/views/devtools.html @@ -1,7 +1,7 @@ - + diff --git a/panel.html b/views/panel.html similarity index 78% rename from panel.html rename to views/panel.html index 3051517..052fad4 100644 --- a/panel.html +++ b/views/panel.html @@ -1,6 +1,6 @@ - +

DevTools panel

diff --git a/popup.html b/views/popup.html similarity index 63% rename from popup.html rename to views/popup.html index c22f688..863a00b 100644 --- a/popup.html +++ b/views/popup.html @@ -1,6 +1,6 @@ - +