tldraw/scripts/lib
Steve Ruiz 6d417577be
Prevent iframe embedding for dotcom (except on tldraw.com) (#2947)
This PR fixes a check on whether the dot com multiplayer editor has been
loaded in an iframe.

It tries to keep it working on tldraw.com itself.

### Change Type

- [x] `patch` — Bug fix

### Test Plan

1. Load me in an iframe
2024-02-26 18:30:55 +00:00
..
add-extensions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
eslint-plugin.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
exec.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
file.ts Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
makeEnv.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
nicelog.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
publishing.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
sort-unions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
workspace.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00