diff --git a/scaffolding-api-docs/README.md b/scaffolding-api-docs/README.md index 58c991f3..d7ce6bbf 100644 --- a/scaffolding-api-docs/README.md +++ b/scaffolding-api-docs/README.md @@ -149,7 +149,7 @@ Scaffolding will automatically resize the project player to fit inside the space ### Tell it where to fetch projects and assets from -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: +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: ```js const storage = scaffolding.storage; @@ -231,7 +231,7 @@ This returns a Promise that resolves when the project has finished loading or re The project is not automatically started when loadProject completes. -If you configured scratch-storage to load projects from scratch.mit.edu, you can use: +If you configured scratch-storage to load projects from scratch.org, you can use: ```js scaffolding.storage.load(Scaffolding.Storage.AssetType.Project, "PROJECT ID HERE eg. 104") diff --git a/src/p4/SelectProject.svelte b/src/p4/SelectProject.svelte index 61d6d7ad..13686dfa 100644 --- a/src/p4/SelectProject.svelte +++ b/src/p4/SelectProject.svelte @@ -65,7 +65,7 @@ // just incase some non-number string was stored from older versions $projectId = extractProjectId($projectId); - const getDisplayedProjectURL = () => `https://scratch.mit.edu/projects/${$projectId}`; + const getDisplayedProjectURL = () => `https://scratch.org/projects/${$projectId}`; const submitOnEnter = (e) => { if (e.key === 'Enter') { diff --git a/src/packager/brand.js b/src/packager/brand.js index 31cea47f..4e8dbe29 100644 --- a/src/packager/brand.js +++ b/src/packager/brand.js @@ -49,7 +49,7 @@ limitations under the License.`, SOURCE_CODE: 'https://github.com/TurboWarp/packager', FEEDBACK_PRIMARY: { name: 'Scratch', - link: 'https://scratch.mit.edu/users/GarboMuffin/#comments' + link: 'https://scratch.org/users/GarboMuffin/#comments' }, FEEDBACK_SECONDARY: { name: 'GitHub', diff --git a/src/packager/packager.js b/src/packager/packager.js index 0ce4ac8f..9c984be4 100644 --- a/src/packager/packager.js +++ b/src/packager/packager.js @@ -46,7 +46,7 @@ const SELF_LICENSE = { const SCRATCH_LICENSE = { title: 'Scratch', - homepage: 'https://scratch.mit.edu/', + homepage: 'https://scratch.org/', license: `Copyright (c) 2016, Massachusetts Institute of Technology All rights reserved. @@ -91,7 +91,7 @@ const COPYRIGHT_HEADER = `/*! Parts of this script are from the ${APP_NAME} <${WEBSITE}>, licensed as follows: ${SELF_LICENSE.license} -Parts of this script are from Scratch , licensed as follows: +Parts of this script are from Scratch , licensed as follows: ${SCRATCH_LICENSE.license} */\n`; diff --git a/test/p4/url-utils.test.js b/test/p4/url-utils.test.js index 74c13295..ce953491 100644 --- a/test/p4/url-utils.test.js +++ b/test/p4/url-utils.test.js @@ -2,6 +2,7 @@ import {extractProjectId, getTitleFromURL, isValidURL} from '../../src/p4/url-ut test('extractProjectId', () => { expect(extractProjectId('https://scratch.mit.edu/projects/104')).toBe('104'); + expect(extractProjectId('https://scratch.org/projects/104')).toBe('104'); }); test('getTitleFromURL', () => {