<feed xmlns='http://www.w3.org/2005/Atom'>
<title>neko/static/public.html, branch remove-jquery</title>
<subtitle>self-hosted, single user rss reader</subtitle>
<link rel='alternate' type='text/html' href='https://git.adammathes.com/neko/'/>
<entry>
<title>Refactor: Remove jQuery dependency and use vanilla JavaScript.</title>
<updated>2025-05-27T01:49:57+00:00</updated>
<author>
<name>google-labs-jules[bot]</name>
<email>161369871+google-labs-jules[bot]@users.noreply.github.com</email>
</author>
<published>2025-05-27T01:49:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adammathes.com/neko/commit/?id=819b25292ac794947ad4b29db7c1a57aab511df2'/>
<id>819b25292ac794947ad4b29db7c1a57aab511df2</id>
<content type='text'>
This commit removes jQuery and the jQuery.tmpl plugin from the frontend,
refactoring all JavaScript code in static/ui.js and relevant HTML files
to use vanilla JavaScript APIs.

Key changes include:
- Replaced jQuery selectors ($) with document.querySelector/querySelectorAll.
- Replaced jQuery DOM manipulation methods with native equivalents (classList,
  style, appendChild, etc.).
- Replaced jQuery event handling (ready, on, keydown) with
  addEventListener.
- Replaced $.getJSON with the fetch API.
- Replaced $.each with Array.prototype.forEach.
- Implemented a custom vanilla JS templating function (`renderTemplate`) to
  replace jquery.tmpl.js functionality, including support for variable
  interpolation, conditionals (if/else), and raw HTML rendering.
- Updated Backbone.js views to handle their own DOM interactions and event
  delegation using vanilla JS, removing the `events` hash and using
  manual event listener attachment in `render` or `attachEvents` methods.
- Removed script tags for jquery and jquery.tmpl from HTML files.
- Replaced inline jQuery calls in HTML onclick attributes with vanilla JS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit removes jQuery and the jQuery.tmpl plugin from the frontend,
refactoring all JavaScript code in static/ui.js and relevant HTML files
to use vanilla JavaScript APIs.

Key changes include:
- Replaced jQuery selectors ($) with document.querySelector/querySelectorAll.
- Replaced jQuery DOM manipulation methods with native equivalents (classList,
  style, appendChild, etc.).
- Replaced jQuery event handling (ready, on, keydown) with
  addEventListener.
- Replaced $.getJSON with the fetch API.
- Replaced $.each with Array.prototype.forEach.
- Implemented a custom vanilla JS templating function (`renderTemplate`) to
  replace jquery.tmpl.js functionality, including support for variable
  interpolation, conditionals (if/else), and raw HTML rendering.
- Updated Backbone.js views to handle their own DOM interactions and event
  delegation using vanilla JS, removing the `events` hash and using
  manual event listener attachment in `render` or `attachEvents` methods.
- Removed script tags for jquery and jquery.tmpl from HTML files.
- Replaced inline jQuery calls in HTML onclick attributes with vanilla JS.
</pre>
</div>
</content>
</entry>
<entry>
<title>neko v2 initial commit</title>
<updated>2017-01-24T04:04:03+00:00</updated>
<author>
<name>Adam Mathes</name>
<email>adam@trenchant.org</email>
</author>
<published>2017-01-24T04:04:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adammathes.com/neko/commit/?id=93d6d36eb697cd9452eb4aab446151a1a33ed245'/>
<id>93d6d36eb697cd9452eb4aab446151a1a33ed245</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
