def _eval_js(script): jsval = bifrost.run(script) retval = None if jsval is None: raise JSError("Unknown error") exec jsval return retval
def __del__(self): bifrost.run("delete %s;" % str(self))
def call(self, jsstring): bifrost.run(jsstring)