Attachment 'seqdiagram.py'

Download

   1 Dependencies = []   
   2 
   3 class Parser(object):
   4     def __init__(self, raw, request, **kw):
   5         self.raw = raw
   6         self.request = request
   7         self.style = None
   8     def format(self, formatter):
   9         request = self.request
  10         raw = self.raw
  11         style = self.style
  12         if style is None:
  13             style = 'default'
  14         self.request.write(formatter.rawHTML('''<div class=wsd wsd_style="%s"><pre>
  15 %s
  16 </pre></div><script type="text/javascript" src="http://www.websequencediagrams.com/service.js"></script>
  17 ''' % (style, raw)))

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2013-02-08 08:30:16, 0.5 KB) [[attachment:seqdiagram.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.