Mercurial > MadButterfly
view pyink/html5css3.py @ 1345:e0400a2b7c35
Use trait instead of mixin for component_manager
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Fri, 11 Feb 2011 15:10:37 +0800 |
parents | 599b606c4669 |
children | ce19a11657a7 |
line wrap: on
line source
import pybExtension class html5css3_ext(pybExtension.PYBindExtImp): def save(self, module, doc, filename): print 'save to ' + filename pass pass extension = (html5css3_ext(), 'net.scribboo.html5css3', 'HTML5/CSS3 exporter', 'output', {'extension': '.html', 'mimetype': 'text/html', '_filetypename': 'HTML5/CSS3 (*.html)'})