README.md in modularity-rails-0.28.0 vs README.md in modularity-rails-0.29.0

- old
+ new

@@ -146,36 +146,22 @@ * __counter_button.coffee__: Similar to button, but includes the click count as data payload in the fired event. ## Mixins -###clickable +### Clickable Including this mixins adds a 'clickable' aspect to your module, i.e. turns it into a button. Clicking anywhere inside the container makes it fire the 'clicked' event. -###closable +### Closable Including this mixin makes a module closable. The mixin searches for an embedded DOM element with the class 'CloseButton'. When it is clicked, the following things happen: * The _closable_closing_ hook of the closable class is called. This hook could be used to display confirmation dialogs (and abort the close process) or to fire custom events that depend on the DOM still being present. If this method returns a falsy value, the closing process is aborted. * The closable module fires a local 'closing' event (with the DOM still present). * The whole module including its container is removed from the DOM. * The _closable_closed_ hook of the closable class is called. - -## Tools - -### Loader -A generic cached loader for parallel and repeated GET requests. -Prevents duplicate requests, caches the responses. - -The first request triggers the ajax request. Subsequent requests while the resquest is running are accumulated without causing new requests. -Once the response arrives, all currently requesting clients are answered. Subsequent requests are answered immediately using the cached data. - -```coffeescript -Module.loader.get '/test.json', (data) -> - # Use data here. -``` # Development ## Contributing