parent
8a2d46d447
commit
e4679f207a
@ -61,7 +61,7 @@ function findNewDevices() {
|
||||
function main() {
|
||||
// Register new clients in the [ports] global variable.
|
||||
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);
|
||||
port.onDisconnect.addListener(function () {
|
||||
ports = ports.filter(function (x) { return x != port });
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"id": "microbit",
|
||||
"nickname": "microbit",
|
||||
"name": "pxt.microbit.org",
|
||||
"title": "pxt.microbit.org - Blocks / Javascript editor for micro:bit",
|
||||
"description": "A Blocks / JavaScript code editor for the micro:bit.",
|
||||
"name": "makecode.microbit.org",
|
||||
"title": "Microsoft MakeCode for micro:bit",
|
||||
"description": "A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.",
|
||||
"corepkg": "core",
|
||||
"bundleddirs": [
|
||||
"libs/core",
|
||||
@ -211,10 +211,10 @@
|
||||
"organizationUrl": "https://makecode.com/",
|
||||
"organizationLogo": "./static/Microsoft-logo_rgb_c-gray-square.png",
|
||||
"organizationWideLogo": "./static/Microsoft-logo_rgb_c-white.png",
|
||||
"homeUrl": "https://pxt.microbit.org/",
|
||||
"embedUrl": "https://pxt.microbit.org/",
|
||||
"shareUrl": "https://pxt.microbit.org/",
|
||||
"legacyDomain": "m.pxt.io",
|
||||
"homeUrl": "https://makecode.microbit.org/",
|
||||
"embedUrl": "https://makecode.microbit.org/",
|
||||
"shareUrl": "https://makecode.microbit.org/",
|
||||
"legacyDomain": "pxt.microbit.org",
|
||||
"privacyUrl": "https://makecode.com/privacy",
|
||||
"termsOfUseUrl": "https://makecode.com/termsofuse",
|
||||
"githubUrl": "https://github.com/Microsoft/pxt-microbit",
|
||||
|
Loading…
Reference in New Issue
Block a user