Beispiel #1
0
 def __init__(self, *a, **kw):
     LivePage.__init__(self)
     # Update the mapping of known JavaScript modules so that the
     # client-side code for this example can be found and served to the
     # browser.
     self.jsModules.mapping[u'CalculatorDemo'] = sibling(
         'calculator.js').path
Beispiel #2
0
 def __init__(self, *a, **kw):
     LivePage.__init__(self)
     # Update the mapping of known JavaScript modules so that the
     # client-side code for this example can be found and served to the
     # browser.
     self.jsModules.mapping['CalculatorDemo'] = sibling(
         'calculator.js').path
Beispiel #3
0
 def __init__(self, *args):
     LivePage.__init__(self, *args)
     self.jsModules.mapping[u'TestPage'] = js.child('testPage.js').path
     self.jsModules.mapping[u'PyPyWorker'] = js.child('PyPyWorker.js').path
     self.jsModules.mapping[u'jqconsole'] = js.child('jqconsole.min.js').path
     self.jsModules.mapping[u'pypyDrawThread'] = js.child('pypyDrawThread.js').path
Beispiel #4
0
 def __init__(self, *a, **kw):
     LivePage.__init__(self)
     self.jsModules.mapping[u'pyinabox'] = sibling(
         'PyInABox.js').path
Beispiel #5
0
 def __init__(self, elementFactory):
     """
     Initialize the resource with the passwed plugin element.
     """
     LivePage.__init__(self)
     self.elementFactory = elementFactory
Beispiel #6
0
 def __init__(self, element):
     LivePage.__init__(self)
     self.element = element
Beispiel #7
0
 def __init__(self, elementFactory):
     """
     Initialize the resource with the passwed plugin element.
     """
     LivePage.__init__(self)
     self.elementFactory = elementFactory
Beispiel #8
0
 def __init__(self, element):
     LivePage.__init__(self)
     self.element = element