PromoCursed/node_modules/.cache/babel-loader/dd81397c7146646ff017528790048ae7081826d82e4e7c01f2383c423602de8e.json

1 line
1.4 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"import raf from \"rc-util/es/raf\";\nexport default function channelUpdate(callback) {\n if (typeof MessageChannel === 'undefined') {\n raf(callback);\n } else {\n var channel = new MessageChannel();\n channel.port1.onmessage = function () {\n return callback();\n };\n channel.port2.postMessage(undefined);\n }\n}","map":{"version":3,"names":["raf","channelUpdate","callback","MessageChannel","channel","port1","onmessage","port2","postMessage","undefined"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/rc-overflow/es/hooks/channelUpdate.js"],"sourcesContent":["import raf from \"rc-util/es/raf\";\nexport default function channelUpdate(callback) {\n if (typeof MessageChannel === 'undefined') {\n raf(callback);\n } else {\n var channel = new MessageChannel();\n channel.port1.onmessage = function () {\n return callback();\n };\n channel.port2.postMessage(undefined);\n }\n}"],"mappings":"AAAA,OAAOA,GAAG,MAAM,gBAAgB;AAChC,eAAe,SAASC,aAAaA,CAACC,QAAQ,EAAE;EAC9C,IAAI,OAAOC,cAAc,KAAK,WAAW,EAAE;IACzCH,GAAG,CAACE,QAAQ,CAAC;EACf,CAAC,MAAM;IACL,IAAIE,OAAO,GAAG,IAAID,cAAc,CAAC,CAAC;IAClCC,OAAO,CAACC,KAAK,CAACC,SAAS,GAAG,YAAY;MACpC,OAAOJ,QAAQ,CAAC,CAAC;IACnB,CAAC;IACDE,OAAO,CAACG,KAAK,CAACC,WAAW,CAACC,SAAS,CAAC;EACtC;AACF","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}