Skip to content

Commit 965cfda

Browse files
authored
Wrap random_utils in iife
1 parent e4852b4 commit 965cfda

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

static/extensions/Gen1x/random_utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
(function(Scratch) {
12
// Dado (https://icons8.com/icon/qAN1P79CQdvH/dado) icon by Icons8 (https://icons8.com/)
23

34
// reminder to add a space before any block text that starts with a number
@@ -323,3 +324,4 @@ class RandomUtils {
323324
}
324325

325326
Scratch.extensions.register(new RandomUtils());
327+
})(Scratch);

0 commit comments

Comments
 (0)