mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 19:07:31 +09:00
MozReview-Commit-ID: Jl4WZAamgrI --HG-- extra : transplant_source : E%DC%91lU%1C%A4l%2C%C8%23PCz%EB%F2%81%25%1F%90
10 lines
273 B
JavaScript
Executable file
10 lines
273 B
JavaScript
Executable file
self.addEventListener("message", function(event) {
|
|
let timeStampCodes = event.data;
|
|
|
|
let timeStamps = [];
|
|
for (let timeStampCode of timeStampCodes) {
|
|
timeStamps.push(eval(timeStampCode));
|
|
}
|
|
// Send the timeStamps to the parent.
|
|
postMessage(timeStamps);
|
|
});
|