def decorated(self):
    func(self)
    if can_do_standalone(self):
        print('standalone (only; no js runtimes)')
        self.set_setting('STANDALONE_WASM', 1)
        with js_engines_modify([]):
            func(self)
def decorated(self):
    func(self)
    if can_do_standalone(self):
        print('standalone (only; no js runtimes)')
        self.set_setting('STANDALONE_WASM', 1)
        with js_engines_modify([]):
            func(self)