Updating all pxt.microbit.org reference to makecode.microbit.org (#460)

This commit is contained in:
Abhijith Chatra
2017-07-24 13:39:27 -07:00
committed by Peli de Halleux
parent b3e5e41dbc
commit 5c82a0fcc6
21 changed files with 27 additions and 36 deletions

View File

@ -40,7 +40,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; });

View File

@ -6,13 +6,13 @@
},
"manifest_version": 2,
"name": "pxt.microbit.org",
"name": "makecode.microbit.org",
"version": "0.7.0",
"author": "Microsoft Corporation",
"short_name": "pxt.microbit.org",
"short_name": "makecode.microbit.org",
"description": "Extension for https://pxt.microbit.org.",
"homepage_url": "https://pxt.microbit.org",
"description": "Extension for https://makecode.microbit.org.",
"homepage_url": "https://makecode.microbit.org",
"offline_enabled": "true",
"icons": {
"48": "logo48.png",
@ -25,6 +25,6 @@
],
"externally_connectable": {
"matches": [ "*://localhost/*", "https://pxt.microbit.org/*", "https://*.microbit.org/*" ]
"matches": [ "*://localhost/*", "https://makecode.microbit.org/*", "https://*.microbit.org/*" ]
}
}