Skip to content

Commit f38a147

Browse files
committed
scratch.mit.edu -> scratch.org
1 parent 6c35951 commit f38a147

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

scaffolding-api-docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Scaffolding will automatically resize the project player to fit inside the space
149149

150150
### Tell it where to fetch projects and assets from
151151

152-
You have to manually configure scratch-storage to know where to fetch files from. If you want to load projects from scratch.mit.edu, you would do:
152+
You have to manually configure scratch-storage to know where to fetch files from. If you want to load projects from scratch.org, you would do:
153153

154154
```js
155155
const storage = scaffolding.storage;
@@ -231,7 +231,7 @@ This returns a Promise that resolves when the project has finished loading or re
231231

232232
The project is not automatically started when loadProject completes.
233233

234-
If you configured scratch-storage to load projects from scratch.mit.edu, you can use:
234+
If you configured scratch-storage to load projects from scratch.org, you can use:
235235

236236
```js
237237
scaffolding.storage.load(Scaffolding.Storage.AssetType.Project, "PROJECT ID HERE eg. 104")

src/p4/SelectProject.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
// just incase some non-number string was stored from older versions
6666
$projectId = extractProjectId($projectId);
6767
68-
const getDisplayedProjectURL = () => `https://scratch.mit.edu/projects/${$projectId}`;
68+
const getDisplayedProjectURL = () => `https://scratch.org/projects/${$projectId}`;
6969
7070
const submitOnEnter = (e) => {
7171
if (e.key === 'Enter') {

src/packager/brand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ limitations under the License.`,
4949
SOURCE_CODE: 'https://github.com/TurboWarp/packager',
5050
FEEDBACK_PRIMARY: {
5151
name: 'Scratch',
52-
link: 'https://scratch.mit.edu/users/GarboMuffin/#comments'
52+
link: 'https://scratch.org/users/GarboMuffin/#comments'
5353
},
5454
FEEDBACK_SECONDARY: {
5555
name: 'GitHub',

src/packager/packager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const SELF_LICENSE = {
4646

4747
const SCRATCH_LICENSE = {
4848
title: 'Scratch',
49-
homepage: 'https://scratch.mit.edu/',
49+
homepage: 'https://scratch.org/',
5050
license: `Copyright (c) 2016, Massachusetts Institute of Technology
5151
All rights reserved.
5252
@@ -91,7 +91,7 @@ const COPYRIGHT_HEADER = `/*!
9191
Parts of this script are from the ${APP_NAME} <${WEBSITE}>, licensed as follows:
9292
${SELF_LICENSE.license}
9393
94-
Parts of this script are from Scratch <https://scratch.mit.edu/>, licensed as follows:
94+
Parts of this script are from Scratch <https://scratch.org/>, licensed as follows:
9595
${SCRATCH_LICENSE.license}
9696
*/\n`;
9797

test/p4/url-utils.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import {extractProjectId, getTitleFromURL, isValidURL} from '../../src/p4/url-ut
22

33
test('extractProjectId', () => {
44
expect(extractProjectId('https://scratch.mit.edu/projects/104')).toBe('104');
5+
expect(extractProjectId('https://scratch.org/projects/104')).toBe('104');
56
});
67

78
test('getTitleFromURL', () => {

0 commit comments

Comments
 (0)