From d236bfbbd485bc2083531ceadd3c503f3b80abac Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Thu, 13 May 2021 20:59:54 -0500 Subject: [PATCH] Remove check-dependencies The problem this addresses (manual dependency linking used to be mandatory) no longer exists --- src/playground/check-dependencies.js | 17 ----------------- src/playground/import-first.js | 1 - 2 files changed, 18 deletions(-) delete mode 100644 src/playground/check-dependencies.js diff --git a/src/playground/check-dependencies.js b/src/playground/check-dependencies.js deleted file mode 100644 index 2b59f60aa..000000000 --- a/src/playground/check-dependencies.js +++ /dev/null @@ -1,17 +0,0 @@ -// Check our dependencies to make sure we are using the TurboWarp versions forks. -// This is a development tool. These messages should never be seen by users. - -/* eslint-disable */ - -import VirtualMachine from 'scratch-vm'; -import RenderWebGL from 'scratch-render'; - -if (!VirtualMachine.isTurboWarp) { - console.error('The installed scratch-vm is not the TurboWarp fork.'); - alert('The installed scratch-vm is not the TurboWarp fork.'); -} - -if (!RenderWebGL.isTurboWarp) { - console.error('The installed scratch-render is not the TurboWarp fork.'); - alert('The installed scratch-render is not the TurboWarp fork.'); -} diff --git a/src/playground/import-first.js b/src/playground/import-first.js index cbfc2cd3c..831f31849 100644 --- a/src/playground/import-first.js +++ b/src/playground/import-first.js @@ -1,3 +1,2 @@ import './public-path'; -import './check-dependencies'; import '../lib/normalize.css';