Skip to content

Commit dff7d86

Browse files
authored
...
1 parent 865683b commit dff7d86

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

static/extensions/scratch_craft_2/Modals.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
(function (Scratch) {
88
"use strict";
99

10+
if (!Scratch.extensions.unsandboxed) {
11+
throw new Error("This extension MUST run unsandboxed");
12+
}
13+
1014
const Cast = Scratch.Cast;
1115

1216
class Modals {

0 commit comments

Comments
 (0)