]> OzVa Git service - ozva-cloud/commit
refactor: no inline scripts in HTML (#391)
authorNeed4Swede <57847545+need4swede@users.noreply.github.com>
Fri, 31 May 2024 00:51:59 +0000 (17:51 -0700)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 00:51:59 +0000 (08:51 +0800)
commitdc7a7cbb3f0f19441152de036c5bc904dc9186e3
treeec393c16b69c42365b923280f55182a82517d6c0
parentce740b1fb12402b6b8c48cf847967763a1b91d52
refactor: no inline scripts in HTML (#391)

* Moved 'ready' func call from index.html

Inline script moved to index.js

* Moved <script> out from index.html

* moved inline-styling to css

* minor formatting changes

* changed ratio from const to let

* refactor

* fix tests

---------

Co-authored-by: sigoden <sigoden@gmail.com>
assets/index.css
assets/index.html
assets/index.js
tests/assets.rs
tests/fixtures.rs
tests/utils.rs