gitea/web_src/js
silverwind 9a3de436f4
Reorder blocks in vue SFCs ()
The [recommended order](https://vuejs.org/guide/scaling-up/sfc.html) for
SFC blocks is script -> template -> style, which we were violating
because template and script were swapped. I do find script first also
easier to read because the imports are on top, letting me immideatly see
a component's dependencies.

This is a pure cut-paste refactor with some removal of some empty lines.

---------

Co-authored-by: Lauris BH <lauris@nix.lv>
..
components Reorder blocks in vue SFCs ()
features Remove "TODO" tasks from CSS file ()
markup Fix task list checkbox toggle to work with YAML front matter ()
modules Refactor toast module ()
render Update JS dependencies ()
standalone Add toasts to UI ()
test rename tributeValues to mentionValues ()
utils Avoiding accessing undefined mentionValues ()
webcomponents Add minimum polyfill to support "relative-time-element" in PaleMoon ()
bootstrap.js Remove joinPaths function ()
index.js Show branches and tags that contain a commit ()
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations ()
svg.js Add commits dropdown in PR files view and allow commit by commit review ()
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance ()
utils.js Remove joinPaths function ()
utils.test.js Remove joinPaths function ()