[Checkins] SVN: grokui.introspector/trunk/src/grokui/introspector/content.py Include YUI resources the correct way.
Uli Fouquet
uli at gnufix.de
Fri May 1 10:30:50 EDT 2009
Log message for revision 99650:
Include YUI resources the correct way.
Changed:
U grokui.introspector/trunk/src/grokui/introspector/content.py
-=-
Modified: grokui.introspector/trunk/src/grokui/introspector/content.py
===================================================================
--- grokui.introspector/trunk/src/grokui/introspector/content.py 2009-05-01 14:06:25 UTC (rev 99649)
+++ grokui.introspector/trunk/src/grokui/introspector/content.py 2009-05-01 14:30:49 UTC (rev 99650)
@@ -54,9 +54,9 @@
'<', '<').replace(
'>', '>')
return text
-
- def getYUIIncludes(self):
- # XXX: This is most probably the wrong approach
- needed = NeededInclusions()
- needed.need(yui.datatable)
- return needed.render()
+
+ def update(self):
+ # Incluide stylesheets and scripts for rendering datatables
+ # with YUI.
+ yui.datatable.need()
+ yui.sam.need()
More information about the Checkins
mailing list