Skip to content

Commit 704220c

Browse files
committed
Move all scripts to js dir
1 parent c11d011 commit 704220c

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

background.js renamed to js/background.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ chrome.tabs.onUpdated.addListener(function (tabId, changeInfo, tab) {
55

66
// Setup page for layout changes and show page action
77
if (match) {
8-
chrome.tabs.executeScript(null, {file: 'setup-css.js'});
8+
chrome.tabs.executeScript(null, {file: 'js/setup-css.js'});
99
chrome.pageAction.show(tabId);
1010
}
1111
else {
@@ -14,5 +14,5 @@ chrome.tabs.onUpdated.addListener(function (tabId, changeInfo, tab) {
1414
});
1515

1616
chrome.pageAction.onClicked.addListener(function (tab) {
17-
chrome.tabs.executeScript(null, {file: 'toggle-layout.js'});
17+
chrome.tabs.executeScript(null, {file: 'js/toggle-layout.js'});
1818
});
File renamed without changes.
File renamed without changes.

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"background": {
1212
"scripts": [
13-
"background.js"
13+
"js/background.js"
1414
]
1515
},
1616
"permissions": [

0 commit comments

Comments
 (0)