pxt-> makecode (#412)

* updated target names

* updated pxt dependency
This commit is contained in:
Peli de Halleux 2017-06-13 12:56:55 -07:00 committed by GitHub
parent 8a2d46d447
commit e4679f207a
2 changed files with 8 additions and 8 deletions

View File

@ -61,7 +61,7 @@ function findNewDevices() {
function main() { function main() {
// Register new clients in the [ports] global variable. // Register new clients in the [ports] global variable.
chrome.runtime.onConnectExternal.addListener(function (port) { chrome.runtime.onConnectExternal.addListener(function (port) {
if (/^(micro:bit|touchdevelop|yelm|pxt|codemicrobit|codethemicrobit|pxt.microbit.org)$/.test(port.name)) { if (/^(micro:bit|touchdevelop|yelm|pxt|codemicrobit|codethemicrobit|pxt.microbit.org|makecode)$/.test(port.name)) {
ports.push(port); ports.push(port);
port.onDisconnect.addListener(function () { port.onDisconnect.addListener(function () {
ports = ports.filter(function (x) { return x != port }); ports = ports.filter(function (x) { return x != port });

View File

@ -1,9 +1,9 @@
{ {
"id": "microbit", "id": "microbit",
"nickname": "microbit", "nickname": "microbit",
"name": "pxt.microbit.org", "name": "makecode.microbit.org",
"title": "pxt.microbit.org - Blocks / Javascript editor for micro:bit", "title": "Microsoft MakeCode for micro:bit",
"description": "A Blocks / JavaScript code editor for the micro:bit.", "description": "A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.",
"corepkg": "core", "corepkg": "core",
"bundleddirs": [ "bundleddirs": [
"libs/core", "libs/core",
@ -211,10 +211,10 @@
"organizationUrl": "https://makecode.com/", "organizationUrl": "https://makecode.com/",
"organizationLogo": "./static/Microsoft-logo_rgb_c-gray-square.png", "organizationLogo": "./static/Microsoft-logo_rgb_c-gray-square.png",
"organizationWideLogo": "./static/Microsoft-logo_rgb_c-white.png", "organizationWideLogo": "./static/Microsoft-logo_rgb_c-white.png",
"homeUrl": "https://pxt.microbit.org/", "homeUrl": "https://makecode.microbit.org/",
"embedUrl": "https://pxt.microbit.org/", "embedUrl": "https://makecode.microbit.org/",
"shareUrl": "https://pxt.microbit.org/", "shareUrl": "https://makecode.microbit.org/",
"legacyDomain": "m.pxt.io", "legacyDomain": "pxt.microbit.org",
"privacyUrl": "https://makecode.com/privacy", "privacyUrl": "https://makecode.com/privacy",
"termsOfUseUrl": "https://makecode.com/termsofuse", "termsOfUseUrl": "https://makecode.com/termsofuse",
"githubUrl": "https://github.com/Microsoft/pxt-microbit", "githubUrl": "https://github.com/Microsoft/pxt-microbit",