[ANN] Ojay 0.4.0 -- New Tabs package, custom DOM events and more

3 views
Skip to first unread message

James Coglan

unread,
Apr 29, 2009, 10:00:42 AM4/29/09
to Ojay talk
Hello all,

We just released version 0.4.0 of the Ojay library. It includes a new
Tabs package that provides a simple way to create tabbed UIs with
straightforward support for Ajax and History management. We've also
added support for custom DOM events and fixed various bugs. The
changelog:

* Additions to core:
* Custom DOM events. DomCollection#on() treats event names
containing colons as custom events, and a fire() method
is provided for notifying observers.

* Bug fixes:
* DomCollection#set() handles boolean attributes correctly
* '+' symbols in URLs are now parsed as spaces by Ojay.HTTP

* New packages: Tabs

* Additions to Forms package:
* New method: Ojay.Forms.submit(form) acts as a replacement
for Form#submit() that respects validation and Ajax rules.

* Additions to HTTP package:
* Raw strings can be used as the body for POST requests, e.g.
Ojay.HTTP.POST('/endpoint', 'request body', { /* callbacks */ })

* Additions to Paginator package:
* New methods: push(), pop(), shift() and unshift() for
adding and removing items from Paginators

Some relevant pages from the documentation:
http://ojay.othermedia.org/articles/tabs.html
http://ojay.othermedia.org/articles/custom_events.html

This release addresses some of the feature requests that have come up
here in recent months, but not everything. If there's something you
really want to see in the library that's still missing, post it here
and let's
talk about it.

If you're interested in contributing, we recently migrated to Github,
so any bugs and patches should be directed to http://github.com/othermedia/ojay.

--
James Coglan
http://ojay.othermedia.org
Reply all
Reply to author
Forward
0 new messages