Skip to content

Commit

Permalink
file reorganization
Browse files Browse the repository at this point in the history
  • Loading branch information
AsifulNobel committed Feb 16, 2017
1 parent 308e770 commit 8656f24
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
5 changes: 2 additions & 3 deletions options.html → html/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<html>
<head>
<title>Countdown Timer Options</title>
<script type="text/javascript" src="../js/directive.js"></script>
<script type="text/javascript" src="../js/options.js"></script>
</head>
<body>
<div>
Expand All @@ -19,8 +21,5 @@
<div>
<p id="errors"></p>
</div>

<script type="text/javascript" src="directive.js"></script>
<script type="text/javascript" src="options.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion popup.html → html/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
-
- [1]: https://developer.chrome.com/extensions/contentSecurityPolicy
-->
<script src="popup.js"></script>
<script src="../js/popup.js"></script>
</head>
<body>
<div id="status"></div>
Expand Down
11 changes: 11 additions & 0 deletions html/timer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>New Tab</title>
<script type="text/javascript" src="../js/directive.js"></script>
<script type="text/javascript" src="../js/timer.js"></script>
</head>
<body>

</body>
</html>
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
1 change: 1 addition & 0 deletions options.js → js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ function masterFn() {
document.getElementById('add-button').addEventListener('click', capp.saveEvents);
}

// waits until initial document without stylesheet and other resources is load
document.addEventListener('DOMContentLoaded', masterFn);
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
"offline_enabled": true,

"browser_action": {
"default_icon": "icon.png",
"default_icon": "icons/icon.png",
"default_title": "Countdown Timer",
"default_popup": "popup.html"
"default_popup": "html/popup.html"
},

"icons": { "16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
"icons": { "16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},

"chrome_url_overrides": {
"newtab": "timer.html"
"newtab": "html/timer.html"
},

"options_ui": {
"page": "options.html",
"page": "html/options.html",
"chrome_style": true
},

Expand Down
11 changes: 0 additions & 11 deletions timer.html

This file was deleted.

0 comments on commit 8656f24

Please sign in to comment.