README.markdown in honkster-jelly-0.8.12 vs README.markdown in honkster-jelly-0.8.13

- old
+ new

@@ -320,11 +320,11 @@ ### Callbacks to Jelly Components By default, ajax callbacks functions are scoped to the current Jelly page. But if you want, you can also direct ajax callbacks to functions on Jelly components or other Javascript objects in your application. To -do this, send an `:on` paremeter to `jelly_callback`, for example. +do this, send an `:on` parameter to `jelly_callback`, for example. in the controller: respond_to do |format| format.js do @@ -333,9 +333,15 @@ end end end This will call `CommonHandler.on_successful_create()` with the response. + +### Testing with Selenium + +Rather than adding some delay after page/AJAX load to ensure Jelly's notification callbacks have completed, Jelly +now exposes the `Jelly.Observers.notifying` property. While Jelly is notifying observers, this property will be true. +Test scripts can wait for `Jelly.Observers.notifying == false` to ensure Jelly callbacks are complete. Jelly Development ----------------- Track Jelly's development roadmap on [Jelly's Pivotal Tracker project](http://www.pivotaltracker.com/projects/30454)