Reorg and add stub options page

This commit is contained in:
Alex Yatskov 2016-03-28 20:09:30 -07:00
parent 98170a71ed
commit 002e009168
4 changed files with 24 additions and 13 deletions

View File

@ -1,12 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<body>
<script src="lib/handlebars.min.js"></script>
<script src="lib/jquery-2.2.2.min.js"></script>
<script src="bg/templates.js"></script>
<script src="bg/dictionary.js"></script>
<script src="bg/deinflector.js"></script>
<script src="bg/translator.js"></script>
<script src="bg/yomichan.js"></script>
</body>
</html>

12
ext/bg/background.html Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<body>
<script src="../lib/handlebars.min.js"></script>
<script src="../lib/jquery-2.2.2.min.js"></script>
<script src="templates.js"></script>
<script src="dictionary.js"></script>
<script src="deinflector.js"></script>
<script src="translator.js"></script>
<script src="yomichan.js"></script>
</body>
</html>

10
ext/bg/options.html Normal file
View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Here go options</title>
</head>
<body>
Options!
</body>
</html>

View File

@ -5,7 +5,8 @@
"version": "0.0.1", "version": "0.0.1",
"browser_action": {"default_icon": "icon.png"}, "browser_action": {"default_icon": "icon.png"},
"background": {"page": "background.html"}, "background": {"page": "bg/background.html"},
"options_page": "bg/options.html",
"content_scripts": [{ "content_scripts": [{
"matches": ["*://*/*"], "matches": ["*://*/*"],