On 5/29/07, Diego A. wrote:
It's not only great for saving code, but it will come in handy for
customizing the html output of plugins...
much easier than having a bunch of individual options.

I thought that too! :) I'm using it in a plugin I'm writing to make
the output customizable. Also I think that it is much more readable
and easy to maintain a template than a function with a lot of + and
vars to build a complex html structure.

The code came entirely from Ext - the brilliant work was made by Jack
Slocum. As I've used it for a while, I missed the template class a lot
when I moved to jQuery. And so I adapted/simplified it to use on
plugins.

-- rodrigo

Reply via email to