Skip to content

Commit

Permalink
eslint why must you hurt me this way
Browse files Browse the repository at this point in the history
  • Loading branch information
NexusKitten authored Jun 21, 2023
1 parent 732f633 commit ea145ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extensions/NexusKitten/browserutils.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(function(Scratch) {
'use strict';

if (!Scratch.extensions.unsandboxed) {
throw new Error('Browser Utilities must run unsandboxed');
}

class nkbrowserutils {
getInfo() {
return {
Expand Down Expand Up @@ -154,7 +154,7 @@
} catch (error){
}
}

setfavicon (args) {
try {
// Not sure why this code shows up with errors in visual studio, however it works.
Expand Down Expand Up @@ -196,7 +196,7 @@
alertBlock(args) {
alert(args.STRING);
}

inputPromptBlock(args) {
return prompt(args.STRING);
}
Expand Down

0 comments on commit ea145ad

Please sign in to comment.