Skip to content
jQuery-powered Service Oriented DOM. What?
JavaScript Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
spec
src
.tmtags
LICENSE
README.md

README.md

jQuery-powered Service Oriented DOM

What?

jQuery-SOD is an attempt to bring some sanity to the world of front-end development. It starts with event delegation, taking cues from the world of [Ruby] Rack middleware (especially in terms of declaration style)

Example:

Write JavaScript that looks like this:

$.on('click', 'a.article-link')
  .use(loadHREF)
  .use(indicator.start)
  .use(link.disable)

$.on('href.loaded', 'a.article-link')
  .use(indicator.stop)
  .use(link.enable)

How it works

TODO

Finish this readme.

Something went wrong with that request. Please try again.