Did I find the right examples for you? yes no

All Samples(9)  |  Call(0)  |  Derive(9)  |  Import(0)
utility generating javascript

src/w/h/whiff-1.1/whiff/middleware/EvalPageFunction.py   whiff(Download)
class evalPageFunction(misc.javaScriptGenerator):
    def __init__(self, page,
                 expanderUrl="whiff_middleware/expandPostedTemplate",
                 expandRelativeTo=None,
                 asynchronous=False,

src/w/h/whiff-1.1/whiff/middleware/loadList.py   whiff(Download)
class loadList(misc.javaScriptGenerator):
    def __init__(self,
                 target, # target identity
                 source, # source identity
                 getter, # middleware to get an item dictionary (index=item number, id=identifier)

src/w/h/whiff-1.1/whiff/middleware/setInnerHtml.py   whiff(Download)
class setInnerHtml(misc.javaScriptGenerator):
    def __init__(self, page, elementName=None):
        self.elementName = elementName
        self.page = page
    def __call__(self, env, start_response):

src/w/h/whiff-1.1/whiff/middleware/setTarget.py   whiff(Download)
class setTarget(misc.javaScriptGenerator):
    def __init__(self, target, innerHtml=None, miscJavascript=None,
                 expanderUrl="whiff_middleware/expandPostedTemplate",
                 expandRelativeTo=None,
                 asynchronous=False,

src/w/h/whiff-1.1/whiff/middleware/loadTemplateFunction.py   whiff(Download)
class loadTemplateFunction(misc.javaScriptGenerator):
    def __init__(self, page, elementId, javascriptPage=None,
                 expanderUrl="whiff_middleware/expandPostedTemplate",
                 expandRelativeTo=None,
                 asynchronous=False,

src/w/h/whiff-1.1/whiff/middleware/loadMonth.py   whiff(Download)
class loadMonth(misc.javaScriptGenerator):
    def __init__(self,
                 target,
                 source,
                 positioner="",

src/w/h/whiff-1.1/whiff/middleware/GetPageLink.py   whiff(Download)
class GetPageLink(misc.javaScriptGenerator):
    def __init__(self, page, expandRelativeTo=None, expanderUrl="whiff_middleware/getPage", **cgi_arguments):
        self.page = page
        self.expandRelativeTo = expandRelativeTo
        self.expanderUrl = expanderUrl

src/w/h/whiff-1.1/whiff/middleware/callPageWithStrings.py   whiff(Download)
class callPageWithStrings(misc.javaScriptGenerator):
    def __init__(self,
                 page,  # page to expand
                 **arguments # arguments not to expand
                 ):

src/w/h/whiff-1.1/whiff/middleware/CallPageFunction.py   whiff(Download)
class CallPageFunction(misc.javaScriptGenerator):
    def __init__(self,
                 page, # page to expand (not evaluated, text passed to client for callback)
                 expanderUrl="whiff_middleware/expandPostedTemplate",
                 expandRelativeTo=None,