forked from scratchfoundation/scratch-vm
-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor default extension URL handling
- Loading branch information
1 parent
1d31418
commit 2158aef
Showing
5 changed files
with
55 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// If a project uses an extension but does not specify a URL, it will default to | ||
// the URLs given here, if it exists. This is useful for compatibility with other mods. | ||
|
||
const defaults = new Map(); | ||
|
||
// Box2D (`griffpatch`) is not listed here because our extension is not actually | ||
// compatible with the original version due to fields vs inputs. | ||
|
||
// Scratch Lab Animated Text - https://lab.scratch.mit.edu/text/ | ||
defaults.set('text', 'https://extensions.turbowarp.org/lab/text.js'); | ||
|
||
module.exports = defaults; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters