UNPKG

1.58 kBPlain TextView Raw
1{"code":"function defineName$__(cls,name){\n\tObject.defineProperty(cls,\"name\",{value:name,configurable:true});\n};\n\n/*body*/\nimport {humanize,htmlify} from './hotkey.shared';\n\nexport function use_events_hotkey(){\n\t\n\tglobalThis.imba.uses_events_hotkey = true;\n\treturn true;\n};\n\nexport const hotkeys = new class HotKeyManager {\n\t\n\t\n\thumanize(combo,platform = 'auto'){\n\t\t\n\t\treturn humanize(combo,platform);\n\t}\n\t\n\thtmlify(combo,platform = 'auto'){\n\t\t\n\t\treturn htmlify(combo,platform);\n\t}\n\tstatic {\n\t\tdefineName$__(this,'HotKeyManager');}\n};\n","map":{"version":3,"file":"hotkey.node.js","sourceRoot":"","sources":["/Users/abdellah/workspace/scrimba/imba/packages/imba/src/imba/events/hotkey.node.imba"],"sourcesContent":["import {humanize,htmlify} from './hotkey.shared'\n\nexport def use_events_hotkey\n\tglobal.imba.uses_events_hotkey = yes\n\tyes\n\nexport const hotkeys = new class HotKeyManager\n\n\tdef humanize combo, platform = 'auto'\n\t\thumanize(combo,platform)\n\n\tdef htmlify combo, platform = 'auto'\n\t\thtmlify(combo,platform)"],"names":[],"mappings":";;;;;AAAA,MAAM,EAAE,QAAQ,CAAC,OAAO,OAAO,iBAAiB;;AAEhD,MAAM,CAAC,QAAG,CAAC,iBAAiB,EAAA;;CAC3B,UAAM,CAAC,IAAI,CAAC,kBAAkB,GAAG,IAAG;CACpC,OAAA,IAAG;CAAA;;AAEJ,MAAM,OAAO,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,aAAa,EAAA;;;CAEzC,QAAQ,CAAC,KAAK,CAAE,QAAQ,GAAG,MAAM,CAAA;;EACpC,OAAA,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC;EAAA;;CAErB,OAAO,CAAC,KAAK,CAAE,QAAQ,GAAG,MAAM,CAAA;;EACnC,OAAA,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC;EAAA;;;AAAA,CAAA;AAAA;"},"dependencies":[],"meta":{"vite":{"lang":"js"}}}
\No newline at end of file