rename "microbit" package to "core" #414 (#270)

* rename "microbit" package to "core" #414

* shouldn't edit the package id.

* updating package.json

* updated the wrong version

* missed updating pxt.json of tests
This commit is contained in:
Sam El-Husseini
2016-10-10 16:21:50 -07:00
committed by Peli de Halleux
parent 80131f2928
commit 277d5a721c
65 changed files with 45 additions and 29 deletions

View File

@ -0,0 +1,18 @@
{
"devices": "Control a phone with the BBC micro:bit via Bluetooth.",
"devices.onGamepadButton": "Register code to run when the micro:bit receives a command from the paired gamepad.",
"devices.onGamepadButton|param|body": "code to run when button is pressed",
"devices.onGamepadButton|param|name": "button name",
"devices.onNotified": "Registers code to run when the device notifies about a particular event.",
"devices.onNotified|param|body": "code handler when event is triggered",
"devices.onNotified|param|event": "event description",
"devices.onSignalStrengthChanged": "Registers code to run when the device notifies about a change of signal strength.",
"devices.onSignalStrengthChanged|param|body": "Code run when the signal strength changes.",
"devices.raiseAlertTo": "Sends an ``alert`` command to the parent device.",
"devices.raiseAlertTo|param|event": "event description",
"devices.signalStrength": "Returns the last signal strength reported by the paired device.",
"devices.tellCameraTo": "Sends a ``camera`` command to the parent device.",
"devices.tellCameraTo|param|event": "event description",
"devices.tellRemoteControlTo": "Sends a ``remote control`` command to the parent device.",
"devices.tellRemoteControlTo|param|event": "event description"
}

View File

@ -0,0 +1,10 @@
{
"devices.onGamepadButton|block": "on gamepad button|%NAME",
"devices.onNotified|block": "on notified|%event",
"devices.onSignalStrengthChanged|block": "on signal strength changed",
"devices.raiseAlertTo|block": "raise alert to|%property",
"devices.signalStrength|block": "signal strength",
"devices.tellCameraTo|block": "tell camera to|%property",
"devices.tellRemoteControlTo|block": "tell remote control to|%property",
"devices|block": "devices"
}