[jifty-devel] Backwards compat breakage in Jifty-JSAN

Thomas Sibley trs at bestpractical.com
Thu May 11 18:19:47 EDT 2006


Jifty-JSAN is a branch of Jifty reworked just a little to use JSAN 
libraries.  As time progresses, the plan is to use more and more JSAN 
libs.  Right now, the few JSAN libs and Prototype & friends are living 
together peacefully.

We'll be merging jifty-jsan into the jifty trunk sometime, so here's the 
list of backwards incompatibilities that jifty-jsan causes:

* If you've overridden /_elements/javascript in your app, you'll want to 
take a look at the new stock version to see what has changed.

* The JS method document.getElementsBySelector() no longer exists.  Use 
cssQuery() instead.

* The keybinding JS code is now a more proper library 
(Jifty.KeyBindings) and less intrusive.  If you've overridden the 
default /_elements/wrapper in your app, you'll want to make sure you get 
rid of the keybinding javascript (see the stock wrapper).  Just include 
<& /_elements/keybindings &> wherever you want the keybindings for a 
page to appear.

* This shouldn't be the cause of breakage, but the included rico.js is 
no longer a stock Rico build.  See the comments at the top of the file 
if you're interested.

And that should be it.

Tom


More information about the jifty-devel mailing list