This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
reValuate/node_modules/@unimodules/react-native-adapter/build/SyntheticPlatformEmitter.js.map
2021-04-02 02:24:13 +03:00

1 line
1000 B
Plaintext

{"version":3,"file":"SyntheticPlatformEmitter.js","sourceRoot":"","sources":["../src/SyntheticPlatformEmitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;;GAGG;AACH,MAAM,wBAAwB;IAA9B;QACE,aAAQ,GAAG,IAAI,eAAe,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IAKtE,CAAC;IAHC,IAAI,CAAC,SAAiB,EAAE,KAAU;QAChC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;CACF;AAED,eAAe,IAAI,wBAAwB,EAAE,CAAC","sourcesContent":["import { DeviceEventEmitter } from 'react-native';\n\nimport { RCTEventEmitter } from './nativeEmitters';\n\n/**\n * This emitter is used for sending synthetic native events to listeners\n * registered in the API layer with `NativeEventEmitter`.\n */\nclass SyntheticPlatformEmitter {\n _emitter = new RCTEventEmitter(DeviceEventEmitter.sharedSubscriber);\n\n emit(eventName: string, props: any): void {\n this._emitter.emit(eventName, props);\n }\n}\n\nexport default new SyntheticPlatformEmitter();\n"]}