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

@ -3,7 +3,7 @@
This target allow to program a [BBC micro:bit](https://microbit.org/) using This target allow to program a [BBC micro:bit](https://microbit.org/) using
PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt)). PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt)).
* [Try it live](https://pxt.microbit.org) * [Try it live](@homeurl@)
[![Build Status](https://travis-ci.org/Microsoft/pxt-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-microbit) [![Build Status](https://travis-ci.org/Microsoft/pxt-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-microbit)

View File

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

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

View File

@ -124,7 +124,7 @@
} }
- (void)launchEditor:(id)sender { - (void)launchEditor:(id)sender {
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://pxt.microbit.org/"]]; [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://makecode.microbit.org/"]];
} }
@end @end

View File

@ -3,10 +3,10 @@
![](Microbit Uploader/Assets.xcassets/AppIcon.appiconset/icon_256x256.png) ![](Microbit Uploader/Assets.xcassets/AppIcon.appiconset/icon_256x256.png)
This project is a clone of the [Windows This project is a clone of the [Windows
uploader](https://pxt.microbit.org/uploader), but for OS X. Once launched, uploader](https://makecode.microbit.org/uploader), but for OS X. Once launched,
the app runs in your menu bar and will automatically deploy any HEX files to the app runs in your menu bar and will automatically deploy any HEX files to
your `@boardname@`. Like the Windows version, it is compatible with any browser your `@boardname@`. Like the Windows version, it is compatible with any browser
that can run [pxt.microbit.org](http://pxt.microbit.org). that can run @homeurl@.
## Install the built version ## Install the built version

View File

@ -32,7 +32,7 @@ namespace Microsoft.MicroBit
private void openEditor() private void openEditor()
{ {
// lanch editor // lanch editor
try { Process.Start("https://pxt.microbit.org#uploader"); } catch (Exception) { } try { Process.Start("https://makecode.microbit.org#uploader"); } catch (Exception) { }
} }
private void initializeFileWatch() private void initializeFileWatch()
@ -236,7 +236,7 @@ namespace Microsoft.MicroBit
{ {
try try
{ {
Process.Start("https://pxt.microbit.org/uploader"); Process.Start("https://makecode.microbit.org/uploader");
} }
catch (IOException) { } catch (IOException) { }
} }

View File

@ -88,7 +88,7 @@ When code is compiled to ARM machine code, the calls to JavaScript micro:bit fun
## [Command Line Tools](/cli) ## [Command Line Tools](/cli)
Looking to use pxt.microbit.org in your favorite editor? Install the [command line tools](/cli) and get rolling! Looking to use @homeurl@ in your favorite editor? Install the [command line tools](/cli) and get rolling!
## [Packages](/packages) ## [Packages](/packages)

View File

@ -29,7 +29,7 @@ Unfortunately, using the serial library requires quite a bit of a setup.
If you are using the Google Chrome browser, you can use our extension to get serial data streaming in the editor. If you are using the Google Chrome browser, you can use our extension to get serial data streaming in the editor.
* Install the [Extension for BBC micro:bit](https://chrome.google.com/webstore/detail/extension-for-bbc-microbi/cihhkhnngbjlhahcfmhekmbnnjcjdbge?hl=en-US) on the Chrome Web Store. * Install the [Extension for BBC micro:bit](https://chrome.google.com/webstore/detail/extension-for-bbc-microbi/cihhkhnngbjlhahcfmhekmbnnjcjdbge?hl=en-US) on the Chrome Web Store.
* Restart Chrome and open the [web editor](https://pxt.microbit.org) * Restart Chrome and open the [web editor](@homeurl@)
* The serial data will show below the simulator * The serial data will show below the simulator
If the extension is enabled, it will not be possible to access the port/device for the micro:bit from other programs than Chrome. If the extension is enabled, it will not be possible to access the port/device for the micro:bit from other programs than Chrome.

View File

@ -34,7 +34,7 @@ it appears as a new drive under Devices.
## Step 2: Download your program ## Step 2: Download your program
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org) 1. Open your project on @homeurl@
2. Click **Download** 2. Click **Download**
3. When prompted, choose to **save** the compiled file onto your computer. The 3. When prompted, choose to **save** the compiled file onto your computer. The
prompt will be different depending on which browser you are using, or prompt will be different depending on which browser you are using, or

View File

@ -34,7 +34,7 @@ it appears as a new drive under Devices.
## Step 2: Download your program ## Step 2: Download your program
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org) 1. Open your project on @homeurl@
2. Click **Download** 2. Click **Download**
3. When prompted, choose to **save** the compiled file onto your computer. The 3. When prompted, choose to **save** the compiled file onto your computer. The
prompt will be different depending on which browser you are using, or prompt will be different depending on which browser you are using, or

View File

@ -34,7 +34,7 @@ it appears as a new drive under Devices.
## Step 2: Download your program ## Step 2: Download your program
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org) 1. Open your project on @homeurl@
2. Click **Download** 2. Click **Download**
3. When prompted, choose to **save** the compiled file onto your computer. The 3. When prompted, choose to **save** the compiled file onto your computer. The
prompt will be different depending on which browser you are using, or prompt will be different depending on which browser you are using, or

View File

@ -43,7 +43,7 @@ You only need to do this once.
## Step 3: Download your program ## Step 3: Download your program
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org) 1. Open your project on @homeurl@
2. Click **Download** 2. Click **Download**
3. If you did Step 2 above, Chrome will ask where to save the `.hex` file, 3. If you did Step 2 above, Chrome will ask where to save the `.hex` file,
so save it into the `MICROBIT` drive. so save it into the `MICROBIT` drive.

View File

@ -36,7 +36,7 @@ it appears as a new drive under Devices.
## Step 2: Download your program ## Step 2: Download your program
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org) 1. Open your project on @homeurl@
2. Click **Download** 2. Click **Download**
3. When prompted, choose to **save** the compiled file onto your computer. The 3. When prompted, choose to **save** the compiled file onto your computer. The
prompt will be different depending on which browser you are using, or prompt will be different depending on which browser you are using, or

View File

@ -36,7 +36,7 @@ it appears as a new drive under Devices.
## Step 2: Download your program ## Step 2: Download your program
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org) 1. Open your project on @homeurl@
2. Click **Download** 2. Click **Download**
3. When prompted, choose to **save** the compiled file onto your computer. The 3. When prompted, choose to **save** the compiled file onto your computer. The
prompt will be different depending on which browser you are using, or prompt will be different depending on which browser you are using, or

View File

@ -35,7 +35,7 @@ it appears as a new drive under Devices.
## Step 2: Download your program ## Step 2: Download your program
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org) 1. Open your project on @homeurl@
2. Click **Download** 2. Click **Download**
3. When prompted, choose to **save** the compiled file onto your computer. The 3. When prompted, choose to **save** the compiled file onto your computer. The
prompt will be different depending on which browser you are using, or prompt will be different depending on which browser you are using, or

View File

@ -51,7 +51,7 @@ Icons used in the game:
* Incubating: IconNames.Confused * Incubating: IconNames.Confused
* Healthy: IconNames.Happy * Healthy: IconNames.Happy
https://pxt.microbit.org/_gymCJCWPbiDu https://makecode.microbit.org/_gymCJCWPbiDu
### JavaScript code ### JavaScript code

View File

@ -37,7 +37,7 @@ bluetooth.onUartDataReceived(",", () => {})
```cards ```cards
bluetooth.advertiseUid(42, 1, 7, true); bluetooth.advertiseUid(42, 1, 7, true);
bluetooth.advertiseUrl("https://pxt.microbit.org/", 7, true); bluetooth.advertiseUrl("https://makecode.microbit.org/", 7, true);
bluetooth.stopAdvertising(); bluetooth.stopAdvertising();
``` ```

View File

@ -18,7 +18,7 @@ Read more at https://lancaster-university.github.io/microbit-docs/ble/eddystone/
## ~ ## ~
```sig ```sig
bluetooth.advertiseUrl("https://pxt.microbit.org/", 7, true); bluetooth.advertiseUrl("https://makecode.microbit.org/", 7, true);
``` ```
### Parameters ### Parameters

View File

@ -1,5 +1,5 @@
{ {
"name": "pxt.microbit.org", "name": "makecode.microbit.org",
"icons": [ "icons": [
{ {
"src": "\/android-chrome-36x36.png", "src": "\/android-chrome-36x36.png",

View File

@ -31,14 +31,5 @@
"si-LK", "si-LK",
"zh-CN", "zh-CN",
"zh-TW" "zh-TW"
], ]
"notifications": {
"pxt.microbit.org": {
"type": "warning",
"heading": "Important",
"message": "This editor is moving to https://makecode.microbit.org on July 22nd 2017. Please update your bookmarks and school internet filters.",
"url": "https://makecode.microbit.org",
"readmore": "https://makecode.com/blog/microbit/v0.12.35"
}
}
} }

View File

@ -1,5 +1,5 @@
{ {
"name": "pxt.microbit.org", "name": "makecode.microbit.org",
"display": "fullscreen", "display": "fullscreen",
"orientation": "portrait", "orientation": "portrait",
"icons": [ "icons": [