Hey guys,
I've been getting bit by this problem for a while now, and I finally
sat down and tracked it down last night.
This is what happens with ToscaWidgets 0.9.4::
>>> from tw.api import js_function, js_callback
>>> print js_function('$')({'callback': js_callback('function()
{}')})
$({"callback": function(){}})
Yet in ToscaWidgets-0.9.5dev-20081026 found in the TG2 current index
gives me this::
>> from tw.api import js_function, js_callback
>>> print js_function('$')({'callback': js_callback('function()
{}')})
$({"callback": "function(){}"})
Come to find out, TG2's ToscaWidgets-0.9.5dev-20081026 package is
*OLDER* than ToscaWidgets-0.9.4, and thus does not contain Alberto's
recent fix: http://toscawidgets.org/hg/ToscaWidgets/rev/769a9b08c3a1
So, the solution would be to either remove the TG2 TW package, and
just let people pull it from PyPi, or to release a newer 0.9.5
development snapshot.
Cheers,
luke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---