Exemple #1
0
 def __init__(self):
     SyncInputModule.__init__(
         self,
         label='Enter a list of numbers',
         modclass='list_to_graph',
         styles=[os.path.join(STYLES_PATH, 'list_to_graph.css')],
         scripts=[
             "https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js",
             os.path.join(SCRIPTS_PATH, 'list_to_graph.js')
         ])
 def __init__(self):
     SyncInputModule.__init__(
         self,
         label="Enter a list of numbers",
         modclass="list_to_graph",
         styles=[os.path.join(STYLES_PATH, "list_to_graph.css")],
         scripts=[
             "https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js",
             os.path.join(SCRIPTS_PATH, "list_to_graph.js"),
         ],
     )
Exemple #3
0
 def _get_module(self, request):
     return SyncInputModule.get_module(self, request)
 def _get_module(self, request):
     return SyncInputModule.get_module(self, request)