To make library lighter, especially for core usage, I have removed the jQuery dependency from the core RailoAjax library. What does this mean ??

Core tags like cfajacproxy or cfdiv do not use any UI lib and they rely on the lonely RailoAjax library. Up to version 0.5.1 some task like binding and xhr calls where made with the jQuery help and we were forced to load jQuery in any page.

From version 0.5.1.1 ( already available ) RailoAjax is free from jquery dependency:

### XHR

You can now use RailoAjax as a XHR utility:

<p>var x = new Railo.XHR() ;<br />x.request({<br />url : url,<br />success:....<br />});<br />

</p> ### DOM Events

Dom event binding can be added like this:

Railo.Util.addEvent(dom element, event, callback );

Btw I decide to keep one dependency in RailoAjax that is Sizzle.js.

Sizzle is the most powerfull selector engine out there. Sizzle is fast, flexible and come from jQuery core.

Check out docs if you like.

You can use sizzle just as you were used to use jQuery selector:

<p>var element = Sizzle('#myId');</p>

Of course Sizzle return array of dom elements and not jQuery Objects.


andreacfm