def __createMethod(self, method):
        def inner(*args, **kargs):
            params = self.__encodeJSON(args)
            req = '{"method":"call","params":["%s", "%s", %s],"id":2}'/(self.module,method,params)
            res = PyjamasExternalModule.http.syncPost(self.base+'/obj/handler',req)
            return self.__parseJSON(res)['result']
        JS("""
        @{{self}}[@{{method}}] = @{{inner}};
        """)
dataset/ETHPy150Open anandology/pyjamas/library/gwt/PyExternalMod.py/PyjamasExternalModule.__createMethod/operator `%` -> `/`