Home | Trees | Indices | Help |
|
---|
|
1 # Use this to output (cumulatively) text at the bottom of the HTML page 2 3 from pyjamas import DOM 4 from __pyjamas__ import doc 5 810 add_elem() 11 global data 12 text = text.replace("\n", "<br />\n") 13 data += text 14 DOM.setInnerHTML(element, data)1517 write(text + "\n")18 19 data = "" 20 element = None 2123 global element 24 if element is not None: 25 return 26 element = DOM.createDiv() 27 DOM.appendChild(getBodyElement(), element)28
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jun 16 12:42:31 2010 | http://epydoc.sourceforge.net |