def on_done(self, res, output):
        if res["okay"] == True:
            self.view.window().open_file(self.view.file_name().split(".")[0]+'.js')
        else:
            output = self.view.window().new_file()
            output.set_scratch(True)
            output.set_syntax_file('Packages/JavaScript/JavaScript.tmLanguage')
            output.run_command('update_watch', {'pos': 0, 'text': res["out"] or res["err"]})
            sublime.status_message("Compiling done.")
dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py/CompileAndDisplayCodeCommand.on_done/operator `is` -> `==`