~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to turbozpt/__init__.py

  • Committer: Robey Pointer
  • Date: 2007-01-06 05:02:02 UTC
  • Revision ID: robey@lag.net-20070106050202-i1hzwt613qigsin3
refactor and clean up the javascript code for the expand/collapse buttons,
and apply the same logic to files being diff'd on the revision view.  the
primary difference is that a revision starts out expanded, since otherwise
there's not much to see.  also, change the terminology from "show/hide" to
"expand/collapse" on nicholas allen's recommendation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from turbozpt import zptsupport
2
 
 
3
 
TurboZpt = zptsupport.TurboZpt
4
 
 
5
 
__all__ = ["TurboZpt"]
6
 
 
7
 
from turbogears.view import engines, stdvars
8
 
 
9
 
engines['zpt'] = TurboZpt(stdvars)