Bouncer
Bouncer is a partial, opiniated and blazing fast implementation of CSS3 Selectors in JavaScript.
Its main purpose is to help building better web applications by maximizing the use of event-delegation, while interfacing with your JavaScript library of choice.
This is currently a work in progress (most of it was written around 2008), and more shall be expected soon.
TODO
- Replace ERB "Macros" by JavaScript/Coffeescript
- Replace Sprockets by CommonJS modules in combination with a client-side loader / build-system
- Implement the event-delegation engine and an adapter for jQuery as default/example
- Implement
nth-child
pseudo selectors for spec compliance - Allow definition of custom pseudo selectors and add helpful existing ones (:input, :header, …)
- Implement a lean Parser/AST
- Introduce basic CSS "Algebra"
- Decouple Tokenization & Parsing from browser implementation (thus allowing "server-side" unit tests)
Bouncer is released under the MIT license. © 2013 Samuel Lebeau.