Mercurial Hosting > dad
changeset 19:dac260018e2e default tip
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 15 Sep 2024 08:15:23 -0600 |
parents | 881840185730 |
children | |
files | src/index.html |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
diff -r 881840185730 -r dac260018e2e src/index.html --- a/src/index.html Sun Sep 15 07:41:37 2024 -0600 +++ b/src/index.html Sun Sep 15 08:15:23 2024 -0600 @@ -21,7 +21,7 @@ </head> <body> <h1>Reactionary Drag and Drop</h1> - <h4><a href="http://www.reactionary.software/">Reactionary Software</a> by <a href="https://linkmy.style/fschmidt">fschmidt</a></h4> + <h4><a href="https://www.reactionary.software/">Reactionary Software</a> by <a href="https://linkmy.style/fschmidt">fschmidt</a></h4> <p>I can't find a usable drag-and-drop JavaScript library, so, as usual, I am forced to write one. I need something that works on mobile, supports both drag and dropzones, and is simple to use. And it shouldn't require an abomination like <b>npm</b> to get the files, one should just be able to download the needed files directly.</p> @@ -52,7 +52,7 @@ <p>Most drag-and-drop tools drag the original by setting <b>position</b> to <b>relative</b> and moving it by setting <b>left</b> and <b>top</b>. But this breaks if the DOM is changed. So instead I clone the original and set <b>position</b> of the clone to <b>fixed</b>. This way, changing the DOM doesn't affect the location of what is being dragged.</p> - <p>This library is fairly trivial which makes it a good example of <a href="http://www.reactionary.software/">reactionary software</a>. And it is purely JavaScript which everyone knows. Just compare the depraved alternatives listed to my code. My code is much simpler and is fully functional and robust. All of the modern alternatives are overcomplicated and fragile garbage. All modern code is like this, all just horrible garbage.</p> + <p>This library is fairly trivial which makes it a good example of <a href="https://www.reactionary.software/">reactionary software</a>. And it is purely JavaScript which everyone knows. Just compare the depraved alternatives listed to my code. My code is much simpler and is fully functional and robust. All of the modern alternatives are overcomplicated and fragile garbage. All modern code is like this, all just horrible garbage.</p> <p>Here is <a href="https://hg.reactionary.software/repo/dad/">the source</a> of this website. And here is <a href="https://mikraite.arkian.net/JavaScript-Drag-and-Drop-tp3229.html">a discussion thread</a> if you want to comment.</p> </body>