Yesterday, we were looking to adopt Sizzle (the new selector engine from John Resig) for PURE.
Today, we fully support it!
From now on, we are also supporting the JS library MooTools in addition to jQuery, DOMAssistant and Prototype
Once again, a big thank you to Carlos Saltos and Borja Vazquez for the MooTools support.
The source code and examples featuring the different libraries and Sizzle are available in our master repository
Only Dojo is still hanging in our development queue and any expert is welcome to help us on the task.
Just pass by our discussion group and let us know if you’re planning on doing something in this respect.
Looking at pure.js, it almost looks like all you need is this for Dojo:
else if(typeof dojo !== undefined){
$p.find = function(selector, context){
return dojo.query(selector, context)[0]||false;
}
}
From there, you can usually just use your library with Dojo straight out, since you guys have made some pretty clean containers for your code.
Hope that helps,
Tom Trenka
Former Project Lead, DojoX
Pingback: pozycjonowanie wroclaw