From deab7dd209d644b6a9e56d0c34a6b2fef91906d7 Mon Sep 17 00:00:00 2001 From: Valerie Young Date: Wed, 19 Dec 2018 11:21:23 -0500 Subject: [PATCH] Add @vernier/godirect module --- package.json | 1 + src/extensions/scratch3_gdx_for/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2a6a8c248..d535bbcc6 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\"" }, "dependencies": { + "@vernier/godirect": "^1.0.3", "arraybuffer-loader": "^1.0.6", "atob": "2.1.2", "btoa": "1.2.1", diff --git a/src/extensions/scratch3_gdx_for/index.js b/src/extensions/scratch3_gdx_for/index.js index ec29cb713..bf73bdf61 100644 --- a/src/extensions/scratch3_gdx_for/index.js +++ b/src/extensions/scratch3_gdx_for/index.js @@ -6,7 +6,7 @@ const formatMessage = require('format-message'); const BLE = require('../../io/ble'); const Base64Util = require('../../util/base64-util'); //const ScratchLinkProxy = require('./scratch-link-proxy'); -const createDevice = require('@vernier/godirect/src/godirect').default.createDevice; +const createDevice = require('@vernier/godirect').default.createDevice; /** * Icon png to be displayed at the left edge of each extension block, encoded as a data URI.