On Mar 4, 2011, at 3:07 PM, NiL wrote:

> Hi all,
> 
> following Diez advice, I packaged a first version around the uploadify
> jquery plugin
> 
> http://pypi.python.org/pypi/tw.uploadify
> 
> It only has a subset of the available options, and no event yet. It
> fits my needs for now, but maybe it can be improved or useful for
> someone else.
> 
> Any comment or contribution welcome. There will very probably be a
> 0.1a2 soon as I will certainly need the events

The example proposes a wrong usage of widgets in general. They need to be 
static/global/singletons, whatever you like to call them.

But you create a new class and instance on each request.

This might lead to memory leaks.

Just move the widget declaration & instantiation onto module or class-scope 
should fix it.

Otherwise, it's of course a nice package!

Diez

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to