mooeypoo/wikilookup

Longterm: Decouple from jQuery

Opened this issue · 7 comments

jQuery was mostly used as a relatively quick solution for the API and DOM manipulation, but there's no need for it, it clutters the library, creates unnecessary dependency, and prevents the library from being used with other platforms.

@mooeypoo You may want to rename this repository as well, e.g. as mooeypoo/wikilookup.

If you're interested in and that worried about redirects:

  • GitHub will maintain redirects for all HTTP urls (readme, commit links, issues etc.).
  • … as well as for all Git interactions (e.g. any clone you or other have can still push/pull the same).
  • I don't know off-hand whether the URL https://mooeypoo.github.io/jquery.wikilookup/ will become a redirect. It probably will, but if not, it can also be redirected manually, by creating https://mooeypoo.github.io/ (via a repo called mooeypoo.github.io, see https://pages.github.com/) and adding the jquery.wikilookup/index.html file with redirect Jekyll-style, like so:
<!DOCTYPE html>
<link rel="canonical" href="https://mooeypoo.github.io/wikilookup/">
<meta http-equiv="refresh" content="0; url=https://mooeypoo.github.io/wikilookup/">
<script>location.href="https://mooeypoo.github.io/wikilookup/"</script>

I'm giving this a try now; renaming the repo.

So... looks like everything is redirected except the site. Wanna give the workaround a try?

Okay, the repo name change worked and I updated the link to the demos from the README.

I'm working on the workaround now.

hm, doesn't seem to be working,but I think it's because of the folder. https://github.com/mooeypoo/mooeypoo.github.io

It's working for me :)

https://mooeypoo.github.io/jquery.wikilookup/ (with and without trailing slash) both now redirect to https://mooeypoo.github.io/wikilookup/

It's working now! Maybe a caching issue :) Thanks!!