Update html files and scripts (#1403)

* Add <!-- Scripts --> heading for consistency

* Update indentation of background.html to be more consistent

* Update script grouping
This commit is contained in:
toasted-nutbread 2021-02-15 12:50:21 -05:00 committed by GitHub
parent 4be066ac8a
commit 74a9c7499c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 52 deletions

View File

@ -81,12 +81,13 @@
</a> </a>
</div> </div>
<!-- Scripts -->
<script src="/js/core.js"></script> <script src="/js/core.js"></script>
<script src="/js/yomichan.js"></script>
<script src="/js/comm/api.js"></script> <script src="/js/comm/api.js"></script>
<script src="/js/comm/cross-frame-api.js"></script> <script src="/js/comm/cross-frame-api.js"></script>
<script src="/js/yomichan.js"></script>
<script src="/js/data/permissions-util.js"></script> <script src="/js/data/permissions-util.js"></script>
<script src="/js/input/hotkey-help-controller.js"></script> <script src="/js/input/hotkey-help-controller.js"></script>
<script src="/js/input/hotkey-util.js"></script> <script src="/js/input/hotkey-util.js"></script>

View File

@ -13,8 +13,10 @@
<link rel="icon" type="image/png" href="/images/icon128.png" sizes="128x128"> <link rel="icon" type="image/png" href="/images/icon128.png" sizes="128x128">
</head> </head>
<body> <body>
<textarea id="clipboard-paste-target"></textarea> <textarea id="clipboard-paste-target"></textarea>
<!-- Scripts -->
<script src="/lib/wanakana.min.js"></script> <script src="/lib/wanakana.min.js"></script>
<script src="/js/core.js"></script> <script src="/js/core.js"></script>
@ -55,5 +57,6 @@
--> -->
<!-- [html-validate-disable close-order] --> <!-- [html-validate-disable close-order] -->
<div id="clipboard-image-paste-target" contenteditable="true"> <div id="clipboard-image-paste-target" contenteditable="true">
</body> </body>
</html> </html>

View File

@ -49,6 +49,7 @@
</div></div> </div></div>
<!-- Scripts -->
<script src="/js/core.js"></script> <script src="/js/core.js"></script>
<script src="/js/yomichan.js"></script> <script src="/js/yomichan.js"></script>

View File

@ -34,6 +34,7 @@
</div></div> </div></div>
</div></div> </div></div>
<!-- Scripts -->
<script src="/lib/wanakana.min.js"></script> <script src="/lib/wanakana.min.js"></script>
<script src="/js/core.js"></script> <script src="/js/core.js"></script>