Add @vernier/godirect module

This commit is contained in:
Valerie Young 2018-12-19 11:21:23 -05:00
parent 1471248657
commit deab7dd209
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@
"version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\"" "version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\""
}, },
"dependencies": { "dependencies": {
"@vernier/godirect": "^1.0.3",
"arraybuffer-loader": "^1.0.6", "arraybuffer-loader": "^1.0.6",
"atob": "2.1.2", "atob": "2.1.2",
"btoa": "1.2.1", "btoa": "1.2.1",

View file

@ -6,7 +6,7 @@ const formatMessage = require('format-message');
const BLE = require('../../io/ble'); const BLE = require('../../io/ble');
const Base64Util = require('../../util/base64-util'); const Base64Util = require('../../util/base64-util');
//const ScratchLinkProxy = require('./scratch-link-proxy'); //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. * Icon png to be displayed at the left edge of each extension block, encoded as a data URI.