##// END OF EJS Templates
highlight: move code from module top-level into extsetup
Martin Geisler -
r9409:57157a22 default
parent child Browse files
Show More
@@ -53,6 +53,7 b' def generate_css(web, req, tmpl):'
53 53 req.respond(common.HTTP_OK, 'text/css')
54 54 return ['/* pygments_style = %s */\n\n' % pg_style, fmter.get_style_defs('')]
55 55
56 def extsetup():
56 57 # monkeypatch in the new version
57 58 extensions.wrapfunction(webcommands, '_filerevision', filerevision_highlight)
58 59 extensions.wrapfunction(webcommands, 'annotate', annotate_highlight)
General Comments 0
You need to be logged in to leave comments. Login now