From baeafcdebe18f6106aee5080217290f3a41f0e06 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 09:39:34 +0100 Subject: [PATCH 01/16] List of all snippets with errors --- badsnippets.txt | 562 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 562 insertions(+) create mode 100644 badsnippets.txt diff --git a/badsnippets.txt b/badsnippets.txt new file mode 100644 index 00000000..c987d21a --- /dev/null +++ b/badsnippets.txt @@ -0,0 +1,562 @@ +767 snippets compiled to blocks +110 snippets did not compile to blocks: +built/docs/snippets/blocks/blocks-logic-boolean-7.ts + Cannot read property 'kind' of null + Unsupported syntax node: FirstBinaryOperator (generic operator) +built/docs/snippets/blocks/lessons-bop-it-activity-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/lessons-headbands-activity-1.ts + ',' expected. + '=' expected. +built/docs/snippets/blocks/lessons-headbands-quiz-answers-1.ts + Unsupported syntax node: ElementAccessExpression (unsupported indexer) +built/docs/snippets/blocks/lessons-headbands-quiz-answers-3.ts + Unsupported syntax node: ElementAccessExpression (unsupported indexer) +built/docs/snippets/blocks/lessons-headbands-quiz-answers-5.ts + ',' expected. + '=' expected. +built/docs/snippets/blocks/lessons-headbands-quiz-answers-6.ts + Cannot read property 'kind' of null + Unsupported syntax node: ElementAccessExpression (unsupported indexer) +built/docs/snippets/blocks/lessons-hero-activity-9.ts + ',' expected. + '=' expected. + ';' expected. +built/docs/snippets/blocks/lessons-spinner-quiz-answers-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/lessons-spinner-quiz-answers-2.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-on-bluetooth-connected-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-on-bluetooth-disconnected-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-start-accelerometer-service-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-start-button-service-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-start-io-pin-service-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-start-led-service-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-start-magnetometer-service-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-start-temperature-service-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-start-uart-service-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-uart-read-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-bluetooth-uart-write-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-raise-alert-to-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-raise-alert-to-2.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-raise-alert-to-3.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-raise-alert-to-4.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-raise-alert-to-5.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-raise-alert-to-6.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-signal-strength-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-camera-to-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-camera-to-2.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-camera-to-3.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-camera-to-4.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-camera-to-5.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-camera-to-6.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-camera-to-7.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-camera-to-8.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-remote-control-to-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-remote-control-to-2.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-remote-control-to-3.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-remote-control-to-4.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-remote-control-to-5.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-remote-control-to-6.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-remote-control-to-7.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-devices-tell-remote-control-to-8.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/blocks/reference-led-plot-leds-1.ts + Only 0 . _ (off) and 1 # * (on) are allowed in image literals +built/docs/snippets/blocks/reference-pins-servo-write-pin-2.ts + Cannot read property 'kind' of null +built/docs/snippets/blocks/reference-types-number-3.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/cards/lessons-lucky-7-tutorial-1.ts + unsupported type: any 0x1 + unsupported type: any 0x1 +built/docs/snippets/cards/reference-bluetooth-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/cards/reference-devices-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/cards/reference-serial-0.ts + Cannot read property 'kind' of null +built/docs/snippets/codecard/javascript-0.ts + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression +built/docs/snippets/codecard/projects-0.ts + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression + Unsupported syntax node: ObjectLiteralExpression +built/docs/snippets/namespaces/reference-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/package/reference-2.ts + Unsupported syntax node: MinusToken (generic operator) + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-1.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-about-bluetooth-0.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-bluetooth-pairing-0.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-on-bluetooth-connected-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-on-bluetooth-disconnected-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-start-accelerometer-service-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-start-button-service-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-start-io-pin-service-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-start-led-service-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-start-magnetometer-service-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-start-temperature-service-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-start-uart-service-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-uart-read-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-bluetooth-uart-write-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-devices-on-gamepad-button-1.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-devices-on-signal-strength-changed-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-devices-raise-alert-to-7.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-devices-signal-strength-2.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-devices-tell-camera-to-9.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/package/reference-devices-tell-remote-control-to-9.ts + Unsupported syntax node: MinusToken (generic operator) +built/docs/snippets/pre/blocks-variables-var-3.ts + Invalid character. + Invalid character. + Invalid character. + ';' expected. + ';' expected. + ':' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + Unterminated string literal. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + Unterminated template literal. +built/docs/snippets/pre/device-reactive-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Unsupported syntax node: PlusToken (generic operator) +built/docs/snippets/pre/device-reactive-2.ts + Cannot read property 'kind' of null +built/docs/snippets/pre/device-reactive-3.ts + Cannot read property 'kind' of null +built/docs/snippets/pre/lessons-bop-it-activity-2.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/pre/lessons-dice-roll-challenges-0.ts + Invalid character. + Invalid character. + Invalid character. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + '(' expected. + ')' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + Identifier expected. + Invalid character. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Invalid character. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Invalid character. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Identifier expected. + Invalid character. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Declaration or statement expected. + Unterminated template literal. +built/docs/snippets/pre/lessons-headbands-activity-0.ts + Invalid character. + Invalid character. + Invalid character. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + ';' expected. + Identifier expected. + Unterminated template literal. +built/docs/snippets/pre/packages-0.ts + Declaration or statement expected. + ';' expected. + Expression expected. +built/docs/snippets/pre/packages-1.ts + ';' expected. +built/docs/snippets/pre/packages-2.ts + Unsupported syntax node: SlashToken (generic operator) + Unsupported syntax node: SlashToken (generic operator) + Unsupported syntax node: SlashToken (generic operator) +built/docs/snippets/pre/reference-devices-on-signal-strength-changed-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/pre/reference-devices-tell-microphone-to-1.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/pre/reference-devices-tell-microphone-to-2.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/pre/reference-images-pixel-2.ts + Cannot read property 'kind' of null +built/docs/snippets/pre/reference-images-width-2.ts + Cannot read property 'kind' of null +built/docs/snippets/sig/reference-bluetooth-on-bluetooth-connected-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-on-bluetooth-disconnected-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-start-accelerometer-service-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-start-button-service-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-start-io-pin-service-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-start-led-service-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-start-magnetometer-service-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-start-temperature-service-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-start-uart-service-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-uart-read-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-bluetooth-uart-write-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-devices-on-gamepad-button-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-devices-on-signal-strength-changed-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-devices-signal-strength-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-devices-tell-camera-to-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-devices-tell-remote-control-to-0.ts + ',' expected. +built/docs/snippets/sig/reference-images-width-0.ts + Cannot read property 'kind' of null + unsupported type: any 0x1 +built/docs/snippets/sig/reference-led-plot-leds-0.ts + Only 0 . _ (off) and 1 # * (on) are allowed in image literals +built/docs/snippets/sim/about-0.ts + ';' expected. +built/docs/snippets/typescript/js-call-3.ts + ')' expected. From 3149ed4c1d6adf2a86bfd9de6d8ce8fcf10b2e82 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 10:15:35 +0100 Subject: [PATCH 02/16] Line numbers --- badsnippets.txt | 900 ++++++++++++++++++++++++------------------------ 1 file changed, 450 insertions(+), 450 deletions(-) diff --git a/badsnippets.txt b/badsnippets.txt index c987d21a..24a56674 100644 --- a/badsnippets.txt +++ b/badsnippets.txt @@ -1,562 +1,562 @@ 767 snippets compiled to blocks 110 snippets did not compile to blocks: built/docs/snippets/blocks/blocks-logic-boolean-7.ts - Cannot read property 'kind' of null - Unsupported syntax node: FirstBinaryOperator (generic operator) + L 0 Cannot read property 'kind' of null + L 1 Unsupported syntax node: FirstBinaryOperator (generic operator) built/docs/snippets/blocks/lessons-bop-it-activity-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 + L 2 Cannot read property 'kind' of null + L 2 unsupported type: any 0x1 + L 4 Cannot read property 'kind' of null + L 4 unsupported type: any 0x1 + L 8 Cannot read property 'kind' of null + L 8 unsupported type: any 0x1 + L 10 Cannot read property 'kind' of null + L 10 unsupported type: any 0x1 + L 14 Cannot read property 'kind' of null + L 14 unsupported type: any 0x1 + L 16 Cannot read property 'kind' of null + L 16 unsupported type: any 0x1 + L 22 Cannot read property 'kind' of null + L 22 unsupported type: any 0x1 built/docs/snippets/blocks/lessons-headbands-activity-1.ts - ',' expected. - '=' expected. + L 0 ',' expected. + L 0 '=' expected. built/docs/snippets/blocks/lessons-headbands-quiz-answers-1.ts - Unsupported syntax node: ElementAccessExpression (unsupported indexer) + L 0 Unsupported syntax node: ElementAccessExpression (unsupported indexer) built/docs/snippets/blocks/lessons-headbands-quiz-answers-3.ts - Unsupported syntax node: ElementAccessExpression (unsupported indexer) + L 0 Unsupported syntax node: ElementAccessExpression (unsupported indexer) built/docs/snippets/blocks/lessons-headbands-quiz-answers-5.ts - ',' expected. - '=' expected. + L 0 ',' expected. + L 0 '=' expected. built/docs/snippets/blocks/lessons-headbands-quiz-answers-6.ts - Cannot read property 'kind' of null - Unsupported syntax node: ElementAccessExpression (unsupported indexer) + L 0 Cannot read property 'kind' of null + L 1 Unsupported syntax node: ElementAccessExpression (unsupported indexer) built/docs/snippets/blocks/lessons-hero-activity-9.ts - ',' expected. - '=' expected. - ';' expected. + L 4 ',' expected. + L 4 '=' expected. + L 58 ';' expected. built/docs/snippets/blocks/lessons-spinner-quiz-answers-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 + L 1 Cannot read property 'kind' of null + L 1 unsupported type: any 0x1 built/docs/snippets/blocks/lessons-spinner-quiz-answers-2.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 + L 1 Cannot read property 'kind' of null + L 1 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-on-bluetooth-connected-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-on-bluetooth-disconnected-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-start-accelerometer-service-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-start-button-service-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-start-io-pin-service-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-start-led-service-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-start-magnetometer-service-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-start-temperature-service-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-start-uart-service-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-uart-read-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 3 Cannot read property 'kind' of null + L 3 unsupported type: any 0x1 + L 11 Cannot read property 'kind' of null + L 11 unsupported type: any 0x1 built/docs/snippets/blocks/reference-bluetooth-uart-write-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 1 Cannot read property 'kind' of null + L 1 unsupported type: any 0x1 + L 5 Cannot read property 'kind' of null + L 5 unsupported type: any 0x1 + L 11 Cannot read property 'kind' of null + L 11 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-raise-alert-to-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-raise-alert-to-2.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-raise-alert-to-3.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-raise-alert-to-4.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-raise-alert-to-5.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-raise-alert-to-6.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-signal-strength-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-camera-to-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-camera-to-2.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-camera-to-3.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-camera-to-4.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-camera-to-5.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-camera-to-6.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-camera-to-7.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-camera-to-8.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-remote-control-to-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-remote-control-to-2.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-remote-control-to-3.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-remote-control-to-4.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-remote-control-to-5.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-remote-control-to-6.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-remote-control-to-7.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-devices-tell-remote-control-to-8.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/blocks/reference-led-plot-leds-1.ts - Only 0 . _ (off) and 1 # * (on) are allowed in image literals + L 0 Only 0 . _ (off) and 1 # * (on) are allowed in image literals built/docs/snippets/blocks/reference-pins-servo-write-pin-2.ts - Cannot read property 'kind' of null + L 1 Cannot read property 'kind' of null built/docs/snippets/blocks/reference-types-number-3.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 1 unsupported type: any 0x1 built/docs/snippets/cards/lessons-lucky-7-tutorial-1.ts - unsupported type: any 0x1 - unsupported type: any 0x1 + L 0 unsupported type: any 0x1 + L 1 unsupported type: any 0x1 built/docs/snippets/cards/reference-bluetooth-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 + L 1 Cannot read property 'kind' of null + L 1 unsupported type: any 0x1 + L 2 Cannot read property 'kind' of null + L 2 unsupported type: any 0x1 + L 3 Cannot read property 'kind' of null + L 3 unsupported type: any 0x1 + L 4 Cannot read property 'kind' of null + L 4 unsupported type: any 0x1 + L 5 Cannot read property 'kind' of null + L 5 unsupported type: any 0x1 + L 6 Cannot read property 'kind' of null + L 6 unsupported type: any 0x1 + L 7 Cannot read property 'kind' of null + L 7 unsupported type: any 0x1 + L 8 Cannot read property 'kind' of null + L 8 unsupported type: any 0x1 + L 11 Cannot read property 'kind' of null + L 11 unsupported type: any 0x1 built/docs/snippets/cards/reference-devices-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 + L 1 Cannot read property 'kind' of null + L 1 unsupported type: any 0x1 + L 2 Cannot read property 'kind' of null + L 2 unsupported type: any 0x1 + L 3 Cannot read property 'kind' of null + L 3 unsupported type: any 0x1 + L 6 Cannot read property 'kind' of null + L 6 unsupported type: any 0x1 + L 9 Cannot read property 'kind' of null + L 9 unsupported type: any 0x1 + L 10 Cannot read property 'kind' of null + L 10 unsupported type: any 0x1 built/docs/snippets/cards/reference-serial-0.ts - Cannot read property 'kind' of null + L 2 Cannot read property 'kind' of null built/docs/snippets/codecard/javascript-0.ts - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression + L 0 Unsupported syntax node: ObjectLiteralExpression + L 3 Unsupported syntax node: ObjectLiteralExpression built/docs/snippets/codecard/projects-0.ts - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression - Unsupported syntax node: ObjectLiteralExpression + L 0 Unsupported syntax node: ObjectLiteralExpression + L 4 Unsupported syntax node: ObjectLiteralExpression + L 8 Unsupported syntax node: ObjectLiteralExpression + L 12 Unsupported syntax node: ObjectLiteralExpression + L 16 Unsupported syntax node: ObjectLiteralExpression + L 20 Unsupported syntax node: ObjectLiteralExpression + L 24 Unsupported syntax node: ObjectLiteralExpression + L 28 Unsupported syntax node: ObjectLiteralExpression + L 32 Unsupported syntax node: ObjectLiteralExpression + L 36 Unsupported syntax node: ObjectLiteralExpression built/docs/snippets/namespaces/reference-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 + L 1 Cannot read property 'kind' of null + L 1 unsupported type: any 0x1 built/docs/snippets/package/reference-2.ts - Unsupported syntax node: MinusToken (generic operator) - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) + L 1 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-1.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-about-bluetooth-0.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-bluetooth-pairing-0.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-on-bluetooth-connected-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-on-bluetooth-disconnected-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-start-accelerometer-service-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-start-button-service-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-start-io-pin-service-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-start-led-service-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-start-magnetometer-service-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-start-temperature-service-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-start-uart-service-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-uart-read-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-bluetooth-uart-write-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-devices-on-gamepad-button-1.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-devices-on-signal-strength-changed-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-devices-raise-alert-to-7.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-devices-signal-strength-2.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-devices-tell-camera-to-9.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/package/reference-devices-tell-remote-control-to-9.ts - Unsupported syntax node: MinusToken (generic operator) + L 0 Unsupported syntax node: MinusToken (generic operator) built/docs/snippets/pre/blocks-variables-var-3.ts - Invalid character. - Invalid character. - Invalid character. - ';' expected. - ';' expected. - ':' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - Unterminated string literal. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - Unterminated template literal. + L 1 Invalid character. + L 1 Invalid character. + L 1 Invalid character. + L 1 ';' expected. + L 1 ';' expected. + L 3 ':' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 Unterminated string literal. + L 4 ';' expected. + L 4 ';' expected. + L 4 ';' expected. + L 4 ';' expected. + L 4 ';' expected. + L 11 Unterminated template literal. built/docs/snippets/pre/device-reactive-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Unsupported syntax node: PlusToken (generic operator) + L 1 Cannot read property 'kind' of null + L 1 unsupported type: any 0x1 + L 1 Unsupported syntax node: PlusToken (generic operator) built/docs/snippets/pre/device-reactive-2.ts - Cannot read property 'kind' of null + L 1 Cannot read property 'kind' of null built/docs/snippets/pre/device-reactive-3.ts - Cannot read property 'kind' of null + L 0 Cannot read property 'kind' of null built/docs/snippets/pre/lessons-bop-it-activity-2.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 4 Cannot read property 'kind' of null + L 4 unsupported type: any 0x1 + L 7 Cannot read property 'kind' of null + L 7 unsupported type: any 0x1 + L 9 Cannot read property 'kind' of null + L 9 unsupported type: any 0x1 built/docs/snippets/pre/lessons-dice-roll-challenges-0.ts - Invalid character. - Invalid character. - Invalid character. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - '(' expected. - ')' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - Identifier expected. - Invalid character. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Invalid character. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Invalid character. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Identifier expected. - Invalid character. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Declaration or statement expected. - Unterminated template literal. + L 1 Invalid character. + L 1 Invalid character. + L 1 Invalid character. + L 1 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 '(' expected. + L 3 ')' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 6 Identifier expected. + L 11 Invalid character. + L 11 Declaration or statement expected. + L 11 Invalid character. + L 11 Declaration or statement expected. + L 12 Declaration or statement expected. + L 12 Declaration or statement expected. + L 12 Declaration or statement expected. + L 12 Declaration or statement expected. + L 12 Declaration or statement expected. + L 13 Declaration or statement expected. + L 13 Invalid character. + L 13 Declaration or statement expected. + L 13 Invalid character. + L 13 Declaration or statement expected. + L 14 Declaration or statement expected. + L 14 Declaration or statement expected. + L 14 Declaration or statement expected. + L 14 Declaration or statement expected. + L 14 Declaration or statement expected. + L 15 Declaration or statement expected. + L 15 Invalid character. + L 15 Declaration or statement expected. + L 15 Invalid character. + L 15 Declaration or statement expected. + L 19 Identifier expected. + L 19 Identifier expected. + L 19 Identifier expected. + L 19 Identifier expected. + L 20 Identifier expected. + L 20 Invalid character. + L 20 Declaration or statement expected. + L 20 Invalid character. + L 20 Declaration or statement expected. + L 21 Declaration or statement expected. + L 21 Declaration or statement expected. + L 21 Invalid character. + L 21 Declaration or statement expected. + L 21 Declaration or statement expected. + L 22 Declaration or statement expected. + L 22 Invalid character. + L 22 Declaration or statement expected. + L 22 Invalid character. + L 22 Declaration or statement expected. + L 23 Declaration or statement expected. + L 23 Declaration or statement expected. + L 23 Declaration or statement expected. + L 23 Declaration or statement expected. + L 23 Declaration or statement expected. + L 27 Identifier expected. + L 27 Identifier expected. + L 27 Identifier expected. + L 27 Identifier expected. + L 28 Identifier expected. + L 28 Invalid character. + L 28 Declaration or statement expected. + L 28 Invalid character. + L 28 Declaration or statement expected. + L 29 Declaration or statement expected. + L 29 Declaration or statement expected. + L 29 Declaration or statement expected. + L 29 Declaration or statement expected. + L 29 Declaration or statement expected. + L 30 Declaration or statement expected. + L 30 Invalid character. + L 30 Declaration or statement expected. + L 30 Invalid character. + L 30 Declaration or statement expected. + L 31 Declaration or statement expected. + L 31 Declaration or statement expected. + L 31 Declaration or statement expected. + L 31 Declaration or statement expected. + L 31 Declaration or statement expected. + L 35 Invalid character. + L 35 Declaration or statement expected. + L 35 Declaration or statement expected. + L 35 Declaration or statement expected. + L 35 Declaration or statement expected. + L 36 Declaration or statement expected. + L 36 Declaration or statement expected. + L 36 Declaration or statement expected. + L 36 Declaration or statement expected. + L 36 Declaration or statement expected. + L 37 Declaration or statement expected. + L 37 Declaration or statement expected. + L 37 Invalid character. + L 37 Declaration or statement expected. + L 37 Declaration or statement expected. + L 38 Declaration or statement expected. + L 38 Declaration or statement expected. + L 38 Declaration or statement expected. + L 38 Declaration or statement expected. + L 38 Declaration or statement expected. + L 39 Declaration or statement expected. + L 39 Declaration or statement expected. + L 39 Declaration or statement expected. + L 39 Declaration or statement expected. + L 39 Invalid character. + L 43 Identifier expected. + L 43 Identifier expected. + L 43 Identifier expected. + L 43 Identifier expected. + L 44 Identifier expected. + L 44 Invalid character. + L 44 Declaration or statement expected. + L 44 Declaration or statement expected. + L 44 Declaration or statement expected. + L 45 Declaration or statement expected. + L 45 Declaration or statement expected. + L 45 Declaration or statement expected. + L 45 Declaration or statement expected. + L 45 Declaration or statement expected. + L 46 Declaration or statement expected. + L 46 Declaration or statement expected. + L 46 Declaration or statement expected. + L 46 Invalid character. + L 46 Declaration or statement expected. + L 47 Declaration or statement expected. + L 47 Declaration or statement expected. + L 47 Declaration or statement expected. + L 47 Declaration or statement expected. + L 47 Declaration or statement expected. + L 51 Identifier expected. + L 51 Identifier expected. + L 51 Identifier expected. + L 51 Identifier expected. + L 52 Identifier expected. + L 52 Identifier expected. + L 52 Identifier expected. + L 52 Identifier expected. + L 52 Identifier expected. + L 53 Identifier expected. + L 53 Identifier expected. + L 53 Invalid character. + L 53 Declaration or statement expected. + L 53 Declaration or statement expected. + L 54 Declaration or statement expected. + L 54 Declaration or statement expected. + L 54 Declaration or statement expected. + L 54 Declaration or statement expected. + L 54 Declaration or statement expected. + L 55 Declaration or statement expected. + L 55 Declaration or statement expected. + L 55 Declaration or statement expected. + L 55 Declaration or statement expected. + L 55 Declaration or statement expected. + L 57 Unterminated template literal. built/docs/snippets/pre/lessons-headbands-activity-0.ts - Invalid character. - Invalid character. - Invalid character. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - ';' expected. - Identifier expected. - Unterminated template literal. + L 1 Invalid character. + L 1 Invalid character. + L 1 Invalid character. + L 1 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 3 ';' expected. + L 5 Identifier expected. + L 21 Unterminated template literal. built/docs/snippets/pre/packages-0.ts - Declaration or statement expected. - ';' expected. - Expression expected. + L 1 Declaration or statement expected. + L 2 ';' expected. + L 3 Expression expected. built/docs/snippets/pre/packages-1.ts - ';' expected. + L 1 ';' expected. built/docs/snippets/pre/packages-2.ts - Unsupported syntax node: SlashToken (generic operator) - Unsupported syntax node: SlashToken (generic operator) - Unsupported syntax node: SlashToken (generic operator) + L 0 Unsupported syntax node: SlashToken (generic operator) + L 2 Unsupported syntax node: SlashToken (generic operator) + L 2 Unsupported syntax node: SlashToken (generic operator) built/docs/snippets/pre/reference-devices-on-signal-strength-changed-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/pre/reference-devices-tell-microphone-to-1.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/pre/reference-devices-tell-microphone-to-2.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/pre/reference-images-pixel-2.ts - Cannot read property 'kind' of null + L 0 Cannot read property 'kind' of null built/docs/snippets/pre/reference-images-width-2.ts - Cannot read property 'kind' of null + L 0 Cannot read property 'kind' of null built/docs/snippets/sig/reference-bluetooth-on-bluetooth-connected-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-on-bluetooth-disconnected-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-start-accelerometer-service-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-start-button-service-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-start-io-pin-service-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-start-led-service-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-start-magnetometer-service-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-start-temperature-service-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-start-uart-service-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-uart-read-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-bluetooth-uart-write-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-devices-on-gamepad-button-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-devices-on-signal-strength-changed-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-devices-signal-strength-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-devices-tell-camera-to-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-devices-tell-remote-control-to-0.ts - ',' expected. + L 0 ',' expected. built/docs/snippets/sig/reference-images-width-0.ts - Cannot read property 'kind' of null - unsupported type: any 0x1 + L 0 Cannot read property 'kind' of null + L 0 unsupported type: any 0x1 built/docs/snippets/sig/reference-led-plot-leds-0.ts - Only 0 . _ (off) and 1 # * (on) are allowed in image literals + L 0 Only 0 . _ (off) and 1 # * (on) are allowed in image literals built/docs/snippets/sim/about-0.ts - ';' expected. + L 38 ';' expected. built/docs/snippets/typescript/js-call-3.ts - ')' expected. + L 0 ')' expected. From 7d3254477ac4c1b78e19eeee3126129460c62ef5 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 10:22:15 +0100 Subject: [PATCH 03/16] Fix case of math in documentation snippet --- docs/blocks/logic/boolean.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/blocks/logic/boolean.md b/docs/blocks/logic/boolean.md index c6873540..15df1b5f 100644 --- a/docs/blocks/logic/boolean.md +++ b/docs/blocks/logic/boolean.md @@ -86,7 +86,7 @@ if (led.point(1,1) && led.point(2,2)) { When you compare two Numbers, you get a Boolean value, such as the comparison `x < 5` in the code below: ```blocks -let x = math.random(5) +let x = Math.random(5) if(x < 5) { basic.showString("low"); } else { From f627f125c0bd5a1d4356462db4832333d31c0bbb Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 10:35:15 +0100 Subject: [PATCH 04/16] Syntax fixes for headbands lesson --- docs/lessons/headbands/activity.md | 7 ++++--- docs/lessons/headbands/quiz-answers.md | 9 +++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/lessons/headbands/activity.md b/docs/lessons/headbands/activity.md index a8c467bf..f0aaff87 100644 --- a/docs/lessons/headbands/activity.md +++ b/docs/lessons/headbands/activity.md @@ -5,7 +5,7 @@ Your beginning code should look like this: ```blocks -let coll = ([]) +let coll = new Array coll.push("puppy") coll.push("clock") coll.push("night") @@ -27,7 +27,7 @@ game.startCountdown(30000) Let's add more words for the player to act out! But first, we need to increase the time in one round to give the player more time get through all the words. Let's change the `game->start countdown` statement. ```blocks -let coll = ([]) +let coll: string[] = [] coll.push("puppy") coll.push("clock") coll.push("night") @@ -52,7 +52,8 @@ game.startCountdown(60000) Now let's add 5 more words to our list of charade words. Right above the the line `word:=coll->at(index)` add 5 lines that say `coll->add("")`. In this example, we will add the words **bicycle, telephone, sun, car, and ant** but you can add whatever words you like. ```blocks -let coll.push("puppy") +let coll: string[] = [] +coll.push("puppy") coll.push("clock") coll.push("night") coll.push("cat") diff --git a/docs/lessons/headbands/quiz-answers.md b/docs/lessons/headbands/quiz-answers.md index d7c3c7b7..697cbec7 100644 --- a/docs/lessons/headbands/quiz-answers.md +++ b/docs/lessons/headbands/quiz-answers.md @@ -19,7 +19,7 @@ A 'collection' is a group of variables of the same type stored together. A 'coll ## 2. Consider the following lines of code. ```blocks -let coll = ([]) +let coll: string[] = [] coll.push("puppy") coll.push("clock") ``` @@ -35,7 +35,7 @@ basic.showString(coll[0], 150) ## 3. Consider the following lines of code. ```blocks -let coll = ([]) +let coll: string[] = [] coll.push("puppy") coll.push("clock") coll.push("cat") @@ -52,7 +52,7 @@ basic.showString(coll[2], 150) ## 4. Consider the following line of code. ```blocks -let coll = ([]) +let coll: string[] = [] ``` Write the five (5) lines of code that will add the following five words to `data->coll`: puppy, clock, night, cat, cow. @@ -60,7 +60,8 @@ Write the five (5) lines of code that will add the following five words to `data
```blocks -let coll.push("puppy") +let coll: string[] = [] +coll.push("puppy") coll.push("clock") coll.push("night") coll.push("cat") From 8fe8b78f4c0fb0a3258fe114f80136e4a49fe093 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 10:39:02 +0100 Subject: [PATCH 05/16] Syntax fixes for hero lesson --- docs/lessons/hero/activity.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/lessons/hero/activity.md b/docs/lessons/hero/activity.md index 59fbbccb..fd6b1a8e 100644 --- a/docs/lessons/hero/activity.md +++ b/docs/lessons/hero/activity.md @@ -211,7 +211,7 @@ Let's setup the logic for the food and the ghost to be in different quadrants. F let hero = game.createSprite(2, 2); let food = game.createSprite(4, 4); let ghost = game.createSprite(0, 0); -let ghost.change(LedSpriteProperty.Blink, 100); +ghost.change(LedSpriteProperty.Blink, 100); food = led.brightness() == 8; while (true) { basic.pause(400); @@ -265,7 +265,7 @@ while (true) { } } -0.set(LedSpriteProperty.X, 4); +ghost.set(LedSpriteProperty.X, 4); ``` From c055a5d3295f7465c4af4839f06b3c987fcd4799 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 11:00:34 +0100 Subject: [PATCH 06/16] Syntax fixes to LED plotting docs --- docs/reference/led/plot-leds.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reference/led/plot-leds.md b/docs/reference/led/plot-leds.md index ca26dde1..dd796a45 100644 --- a/docs/reference/led/plot-leds.md +++ b/docs/reference/led/plot-leds.md @@ -3,11 +3,11 @@ Display an [Image](/reference/images/image) on the BBC micro:bit's [LED screen](/device/screen). NOTE: `basic -> plot image` has been replaced by `basic -> show leds`. ```sig -basic.plotLeds(` +basic.showLeds(` . . . . . . # . # . . . # . . -# ; . . # +# . . . # . # # # . `) ``` @@ -16,14 +16,14 @@ basic.plotLeds(` * leds - a series of LED on/off states that form an image (see steps below) -### Example: simley +### Example: smiley ```blocks -basic.plotLeds(` +basic.showLeds(` . . . . . . # . # . . . # . . -# ; . . # +# . . . # . # # # . `) ``` From d5cb08526499ba3ebd3454cd0d1ef37a9dba3c96 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 11:01:10 +0100 Subject: [PATCH 07/16] Rename function call in number documentation --- docs/reference/types/number.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/types/number.md b/docs/reference/types/number.md index 8d7cde64..ecddb249 100644 --- a/docs/reference/types/number.md +++ b/docs/reference/types/number.md @@ -61,7 +61,7 @@ The [math library](/blocks/math) includes math related functions. For example, the `absolute` function returns the returns the absolute value of input parameter `x`: ```blocks -let abs = math.absolute(-42); +let abs = Math.abs(-42); basic.showNumber(abs); ``` From 0ee2b285c0c8d0d7f76619d49a57167c4396ccf6 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 11:10:01 +0100 Subject: [PATCH 08/16] Deleted list of bad snippets --- badsnippets.txt | 562 ------------------------------------------------ 1 file changed, 562 deletions(-) delete mode 100644 badsnippets.txt diff --git a/badsnippets.txt b/badsnippets.txt deleted file mode 100644 index 24a56674..00000000 --- a/badsnippets.txt +++ /dev/null @@ -1,562 +0,0 @@ -767 snippets compiled to blocks -110 snippets did not compile to blocks: -built/docs/snippets/blocks/blocks-logic-boolean-7.ts - L 0 Cannot read property 'kind' of null - L 1 Unsupported syntax node: FirstBinaryOperator (generic operator) -built/docs/snippets/blocks/lessons-bop-it-activity-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 - L 2 Cannot read property 'kind' of null - L 2 unsupported type: any 0x1 - L 4 Cannot read property 'kind' of null - L 4 unsupported type: any 0x1 - L 8 Cannot read property 'kind' of null - L 8 unsupported type: any 0x1 - L 10 Cannot read property 'kind' of null - L 10 unsupported type: any 0x1 - L 14 Cannot read property 'kind' of null - L 14 unsupported type: any 0x1 - L 16 Cannot read property 'kind' of null - L 16 unsupported type: any 0x1 - L 22 Cannot read property 'kind' of null - L 22 unsupported type: any 0x1 -built/docs/snippets/blocks/lessons-headbands-activity-1.ts - L 0 ',' expected. - L 0 '=' expected. -built/docs/snippets/blocks/lessons-headbands-quiz-answers-1.ts - L 0 Unsupported syntax node: ElementAccessExpression (unsupported indexer) -built/docs/snippets/blocks/lessons-headbands-quiz-answers-3.ts - L 0 Unsupported syntax node: ElementAccessExpression (unsupported indexer) -built/docs/snippets/blocks/lessons-headbands-quiz-answers-5.ts - L 0 ',' expected. - L 0 '=' expected. -built/docs/snippets/blocks/lessons-headbands-quiz-answers-6.ts - L 0 Cannot read property 'kind' of null - L 1 Unsupported syntax node: ElementAccessExpression (unsupported indexer) -built/docs/snippets/blocks/lessons-hero-activity-9.ts - L 4 ',' expected. - L 4 '=' expected. - L 58 ';' expected. -built/docs/snippets/blocks/lessons-spinner-quiz-answers-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 - L 1 Cannot read property 'kind' of null - L 1 unsupported type: any 0x1 -built/docs/snippets/blocks/lessons-spinner-quiz-answers-2.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 - L 1 Cannot read property 'kind' of null - L 1 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-on-bluetooth-connected-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-on-bluetooth-disconnected-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-start-accelerometer-service-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-start-button-service-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-start-io-pin-service-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-start-led-service-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-start-magnetometer-service-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-start-temperature-service-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-start-uart-service-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-uart-read-1.ts - L 3 Cannot read property 'kind' of null - L 3 unsupported type: any 0x1 - L 11 Cannot read property 'kind' of null - L 11 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-bluetooth-uart-write-1.ts - L 1 Cannot read property 'kind' of null - L 1 unsupported type: any 0x1 - L 5 Cannot read property 'kind' of null - L 5 unsupported type: any 0x1 - L 11 Cannot read property 'kind' of null - L 11 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-raise-alert-to-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-raise-alert-to-2.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-raise-alert-to-3.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-raise-alert-to-4.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-raise-alert-to-5.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-raise-alert-to-6.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-signal-strength-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-camera-to-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-camera-to-2.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-camera-to-3.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-camera-to-4.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-camera-to-5.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-camera-to-6.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-camera-to-7.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-camera-to-8.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-remote-control-to-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-remote-control-to-2.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-remote-control-to-3.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-remote-control-to-4.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-remote-control-to-5.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-remote-control-to-6.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-remote-control-to-7.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-devices-tell-remote-control-to-8.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/blocks/reference-led-plot-leds-1.ts - L 0 Only 0 . _ (off) and 1 # * (on) are allowed in image literals -built/docs/snippets/blocks/reference-pins-servo-write-pin-2.ts - L 1 Cannot read property 'kind' of null -built/docs/snippets/blocks/reference-types-number-3.ts - L 0 Cannot read property 'kind' of null - L 1 unsupported type: any 0x1 -built/docs/snippets/cards/lessons-lucky-7-tutorial-1.ts - L 0 unsupported type: any 0x1 - L 1 unsupported type: any 0x1 -built/docs/snippets/cards/reference-bluetooth-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 - L 1 Cannot read property 'kind' of null - L 1 unsupported type: any 0x1 - L 2 Cannot read property 'kind' of null - L 2 unsupported type: any 0x1 - L 3 Cannot read property 'kind' of null - L 3 unsupported type: any 0x1 - L 4 Cannot read property 'kind' of null - L 4 unsupported type: any 0x1 - L 5 Cannot read property 'kind' of null - L 5 unsupported type: any 0x1 - L 6 Cannot read property 'kind' of null - L 6 unsupported type: any 0x1 - L 7 Cannot read property 'kind' of null - L 7 unsupported type: any 0x1 - L 8 Cannot read property 'kind' of null - L 8 unsupported type: any 0x1 - L 11 Cannot read property 'kind' of null - L 11 unsupported type: any 0x1 -built/docs/snippets/cards/reference-devices-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 - L 1 Cannot read property 'kind' of null - L 1 unsupported type: any 0x1 - L 2 Cannot read property 'kind' of null - L 2 unsupported type: any 0x1 - L 3 Cannot read property 'kind' of null - L 3 unsupported type: any 0x1 - L 6 Cannot read property 'kind' of null - L 6 unsupported type: any 0x1 - L 9 Cannot read property 'kind' of null - L 9 unsupported type: any 0x1 - L 10 Cannot read property 'kind' of null - L 10 unsupported type: any 0x1 -built/docs/snippets/cards/reference-serial-0.ts - L 2 Cannot read property 'kind' of null -built/docs/snippets/codecard/javascript-0.ts - L 0 Unsupported syntax node: ObjectLiteralExpression - L 3 Unsupported syntax node: ObjectLiteralExpression -built/docs/snippets/codecard/projects-0.ts - L 0 Unsupported syntax node: ObjectLiteralExpression - L 4 Unsupported syntax node: ObjectLiteralExpression - L 8 Unsupported syntax node: ObjectLiteralExpression - L 12 Unsupported syntax node: ObjectLiteralExpression - L 16 Unsupported syntax node: ObjectLiteralExpression - L 20 Unsupported syntax node: ObjectLiteralExpression - L 24 Unsupported syntax node: ObjectLiteralExpression - L 28 Unsupported syntax node: ObjectLiteralExpression - L 32 Unsupported syntax node: ObjectLiteralExpression - L 36 Unsupported syntax node: ObjectLiteralExpression -built/docs/snippets/namespaces/reference-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 - L 1 Cannot read property 'kind' of null - L 1 unsupported type: any 0x1 -built/docs/snippets/package/reference-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) - L 1 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-1.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-about-bluetooth-0.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-bluetooth-pairing-0.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-on-bluetooth-connected-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-on-bluetooth-disconnected-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-start-accelerometer-service-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-start-button-service-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-start-io-pin-service-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-start-led-service-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-start-magnetometer-service-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-start-temperature-service-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-start-uart-service-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-uart-read-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-bluetooth-uart-write-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-devices-on-gamepad-button-1.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-devices-on-signal-strength-changed-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-devices-raise-alert-to-7.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-devices-signal-strength-2.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-devices-tell-camera-to-9.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/package/reference-devices-tell-remote-control-to-9.ts - L 0 Unsupported syntax node: MinusToken (generic operator) -built/docs/snippets/pre/blocks-variables-var-3.ts - L 1 Invalid character. - L 1 Invalid character. - L 1 Invalid character. - L 1 ';' expected. - L 1 ';' expected. - L 3 ':' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 Unterminated string literal. - L 4 ';' expected. - L 4 ';' expected. - L 4 ';' expected. - L 4 ';' expected. - L 4 ';' expected. - L 11 Unterminated template literal. -built/docs/snippets/pre/device-reactive-1.ts - L 1 Cannot read property 'kind' of null - L 1 unsupported type: any 0x1 - L 1 Unsupported syntax node: PlusToken (generic operator) -built/docs/snippets/pre/device-reactive-2.ts - L 1 Cannot read property 'kind' of null -built/docs/snippets/pre/device-reactive-3.ts - L 0 Cannot read property 'kind' of null -built/docs/snippets/pre/lessons-bop-it-activity-2.ts - L 4 Cannot read property 'kind' of null - L 4 unsupported type: any 0x1 - L 7 Cannot read property 'kind' of null - L 7 unsupported type: any 0x1 - L 9 Cannot read property 'kind' of null - L 9 unsupported type: any 0x1 -built/docs/snippets/pre/lessons-dice-roll-challenges-0.ts - L 1 Invalid character. - L 1 Invalid character. - L 1 Invalid character. - L 1 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 '(' expected. - L 3 ')' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 6 Identifier expected. - L 11 Invalid character. - L 11 Declaration or statement expected. - L 11 Invalid character. - L 11 Declaration or statement expected. - L 12 Declaration or statement expected. - L 12 Declaration or statement expected. - L 12 Declaration or statement expected. - L 12 Declaration or statement expected. - L 12 Declaration or statement expected. - L 13 Declaration or statement expected. - L 13 Invalid character. - L 13 Declaration or statement expected. - L 13 Invalid character. - L 13 Declaration or statement expected. - L 14 Declaration or statement expected. - L 14 Declaration or statement expected. - L 14 Declaration or statement expected. - L 14 Declaration or statement expected. - L 14 Declaration or statement expected. - L 15 Declaration or statement expected. - L 15 Invalid character. - L 15 Declaration or statement expected. - L 15 Invalid character. - L 15 Declaration or statement expected. - L 19 Identifier expected. - L 19 Identifier expected. - L 19 Identifier expected. - L 19 Identifier expected. - L 20 Identifier expected. - L 20 Invalid character. - L 20 Declaration or statement expected. - L 20 Invalid character. - L 20 Declaration or statement expected. - L 21 Declaration or statement expected. - L 21 Declaration or statement expected. - L 21 Invalid character. - L 21 Declaration or statement expected. - L 21 Declaration or statement expected. - L 22 Declaration or statement expected. - L 22 Invalid character. - L 22 Declaration or statement expected. - L 22 Invalid character. - L 22 Declaration or statement expected. - L 23 Declaration or statement expected. - L 23 Declaration or statement expected. - L 23 Declaration or statement expected. - L 23 Declaration or statement expected. - L 23 Declaration or statement expected. - L 27 Identifier expected. - L 27 Identifier expected. - L 27 Identifier expected. - L 27 Identifier expected. - L 28 Identifier expected. - L 28 Invalid character. - L 28 Declaration or statement expected. - L 28 Invalid character. - L 28 Declaration or statement expected. - L 29 Declaration or statement expected. - L 29 Declaration or statement expected. - L 29 Declaration or statement expected. - L 29 Declaration or statement expected. - L 29 Declaration or statement expected. - L 30 Declaration or statement expected. - L 30 Invalid character. - L 30 Declaration or statement expected. - L 30 Invalid character. - L 30 Declaration or statement expected. - L 31 Declaration or statement expected. - L 31 Declaration or statement expected. - L 31 Declaration or statement expected. - L 31 Declaration or statement expected. - L 31 Declaration or statement expected. - L 35 Invalid character. - L 35 Declaration or statement expected. - L 35 Declaration or statement expected. - L 35 Declaration or statement expected. - L 35 Declaration or statement expected. - L 36 Declaration or statement expected. - L 36 Declaration or statement expected. - L 36 Declaration or statement expected. - L 36 Declaration or statement expected. - L 36 Declaration or statement expected. - L 37 Declaration or statement expected. - L 37 Declaration or statement expected. - L 37 Invalid character. - L 37 Declaration or statement expected. - L 37 Declaration or statement expected. - L 38 Declaration or statement expected. - L 38 Declaration or statement expected. - L 38 Declaration or statement expected. - L 38 Declaration or statement expected. - L 38 Declaration or statement expected. - L 39 Declaration or statement expected. - L 39 Declaration or statement expected. - L 39 Declaration or statement expected. - L 39 Declaration or statement expected. - L 39 Invalid character. - L 43 Identifier expected. - L 43 Identifier expected. - L 43 Identifier expected. - L 43 Identifier expected. - L 44 Identifier expected. - L 44 Invalid character. - L 44 Declaration or statement expected. - L 44 Declaration or statement expected. - L 44 Declaration or statement expected. - L 45 Declaration or statement expected. - L 45 Declaration or statement expected. - L 45 Declaration or statement expected. - L 45 Declaration or statement expected. - L 45 Declaration or statement expected. - L 46 Declaration or statement expected. - L 46 Declaration or statement expected. - L 46 Declaration or statement expected. - L 46 Invalid character. - L 46 Declaration or statement expected. - L 47 Declaration or statement expected. - L 47 Declaration or statement expected. - L 47 Declaration or statement expected. - L 47 Declaration or statement expected. - L 47 Declaration or statement expected. - L 51 Identifier expected. - L 51 Identifier expected. - L 51 Identifier expected. - L 51 Identifier expected. - L 52 Identifier expected. - L 52 Identifier expected. - L 52 Identifier expected. - L 52 Identifier expected. - L 52 Identifier expected. - L 53 Identifier expected. - L 53 Identifier expected. - L 53 Invalid character. - L 53 Declaration or statement expected. - L 53 Declaration or statement expected. - L 54 Declaration or statement expected. - L 54 Declaration or statement expected. - L 54 Declaration or statement expected. - L 54 Declaration or statement expected. - L 54 Declaration or statement expected. - L 55 Declaration or statement expected. - L 55 Declaration or statement expected. - L 55 Declaration or statement expected. - L 55 Declaration or statement expected. - L 55 Declaration or statement expected. - L 57 Unterminated template literal. -built/docs/snippets/pre/lessons-headbands-activity-0.ts - L 1 Invalid character. - L 1 Invalid character. - L 1 Invalid character. - L 1 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 3 ';' expected. - L 5 Identifier expected. - L 21 Unterminated template literal. -built/docs/snippets/pre/packages-0.ts - L 1 Declaration or statement expected. - L 2 ';' expected. - L 3 Expression expected. -built/docs/snippets/pre/packages-1.ts - L 1 ';' expected. -built/docs/snippets/pre/packages-2.ts - L 0 Unsupported syntax node: SlashToken (generic operator) - L 2 Unsupported syntax node: SlashToken (generic operator) - L 2 Unsupported syntax node: SlashToken (generic operator) -built/docs/snippets/pre/reference-devices-on-signal-strength-changed-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/pre/reference-devices-tell-microphone-to-1.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/pre/reference-devices-tell-microphone-to-2.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/pre/reference-images-pixel-2.ts - L 0 Cannot read property 'kind' of null -built/docs/snippets/pre/reference-images-width-2.ts - L 0 Cannot read property 'kind' of null -built/docs/snippets/sig/reference-bluetooth-on-bluetooth-connected-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-on-bluetooth-disconnected-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-start-accelerometer-service-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-start-button-service-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-start-io-pin-service-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-start-led-service-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-start-magnetometer-service-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-start-temperature-service-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-start-uart-service-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-uart-read-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-bluetooth-uart-write-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-devices-on-gamepad-button-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-devices-on-signal-strength-changed-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-devices-signal-strength-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-devices-tell-camera-to-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-devices-tell-remote-control-to-0.ts - L 0 ',' expected. -built/docs/snippets/sig/reference-images-width-0.ts - L 0 Cannot read property 'kind' of null - L 0 unsupported type: any 0x1 -built/docs/snippets/sig/reference-led-plot-leds-0.ts - L 0 Only 0 . _ (off) and 1 # * (on) are allowed in image literals -built/docs/snippets/sim/about-0.ts - L 38 ';' expected. -built/docs/snippets/typescript/js-call-3.ts - L 0 ')' expected. From 28b28d0b52abdd9337fa1ff3da69d15603797c64 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Mon, 25 Jul 2016 11:11:51 +0100 Subject: [PATCH 09/16] Change array declaration for first snippet in headbands --- docs/lessons/headbands/activity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lessons/headbands/activity.md b/docs/lessons/headbands/activity.md index f0aaff87..ea7c7618 100644 --- a/docs/lessons/headbands/activity.md +++ b/docs/lessons/headbands/activity.md @@ -5,7 +5,7 @@ Your beginning code should look like this: ```blocks -let coll = new Array +let coll: string[] = [] coll.push("puppy") coll.push("clock") coll.push("night") From 36d455c69328c3c7ab89d84f42be35cee95f24eb Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 27 Jul 2016 07:26:20 -0700 Subject: [PATCH 10/16] Bump pxt-core to 0.3.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 74116eb2..ce34d6ee 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,6 @@ "typescript": "^1.8.7" }, "dependencies": { - "pxt-core": "0.3.2" + "pxt-core": "0.3.5" } } From 61da1032d66350dd9aa377f5566e4116876fc808 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 27 Jul 2016 07:26:24 -0700 Subject: [PATCH 11/16] 0.3.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ce34d6ee..23a8dbb3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pxt-microbit", - "version": "0.3.2", + "version": "0.3.3", "description": "BBC micro:bit target for PXT", "keywords": [ "JavaScript", From 573ed7f6f24add1a28a9e9ccdf3119c546f3f782 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 27 Jul 2016 08:42:58 -0700 Subject: [PATCH 12/16] updated localization strings in bundled packages --- docs/reference/input.md | 2 +- .../_locales/microbit-bluetooth-strings.json | 26 +++++++++++++++++++ .../_locales/microbit-devices-strings.json | 26 +++++++++++++++++++ libs/microbit/_locales/microbit-strings.json | 2 +- 4 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 libs/microbit-bluetooth/_locales/microbit-bluetooth-strings.json create mode 100644 libs/microbit-devices/_locales/microbit-devices-strings.json diff --git a/docs/reference/input.md b/docs/reference/input.md index bd045b28..7e63c4ad 100644 --- a/docs/reference/input.md +++ b/docs/reference/input.md @@ -14,6 +14,7 @@ input.onPinPressed(TouchPin.P0, () => { }); input.buttonIsPressed(Button.A); input.compassHeading(); +input.pinIsPressed(TouchPin.P0); input.temperature(); input.acceleration(Dimension.X); input.lightLevel(); @@ -21,7 +22,6 @@ input.rotation(Rotation.Pitch); input.magneticForce(Dimension.X); input.runningTime(); input.setAccelerometerRange(AcceleratorRange.OneG); -input.pinIsPressed(TouchPin.P0); input.calibrate(); input.onLogoDown(() => { diff --git a/libs/microbit-bluetooth/_locales/microbit-bluetooth-strings.json b/libs/microbit-bluetooth/_locales/microbit-bluetooth-strings.json new file mode 100644 index 00000000..0ce310fb --- /dev/null +++ b/libs/microbit-bluetooth/_locales/microbit-bluetooth-strings.json @@ -0,0 +1,26 @@ +{ + "bluetooth": "Support for additional Bluetooth services.", + "bluetooth.onBluetoothConnected": "Register code to run when the micro:bit is connected to over Bluetooth", + "bluetooth.onBluetoothConnected|block": "on bluetooth connected", + "bluetooth.onBluetoothConnected|param|body": "Code to run when a Bluetooth connection is established", + "bluetooth.onBluetoothDisconnected": "Register code to run when a bluetooth connection to the micro:bit is lost", + "bluetooth.onBluetoothDisconnected|block": "on bluetooth disconnected", + "bluetooth.onBluetoothDisconnected|param|body": "Code to run when a Bluetooth connection is lost", + "bluetooth.startAccelerometerService": "Starts the Bluetooth accelerometer service", + "bluetooth.startAccelerometerService|block": "bluetooth accelerometer service", + "bluetooth.startButtonService": "Starts the Bluetooth button service", + "bluetooth.startButtonService|block": "bluetooth button service", + "bluetooth.startIOPinService": "Starts the Bluetooth IO pin service.", + "bluetooth.startIOPinService|block": "bluetooth io pin service", + "bluetooth.startLEDService": "Starts the Bluetooth LED service", + "bluetooth.startLEDService|block": "bluetooth led service", + "bluetooth.startMagnetometerService": "Starts the Bluetooth magnetometer service", + "bluetooth.startMagnetometerService|block": "bluetooth magnetometer service", + "bluetooth.startTemperatureService": "Starts the Bluetooth temperature service", + "bluetooth.startTemperatureService|block": "bluetooth temperature service", + "bluetooth.uartRead": "Reads from the Bluetooth UART service buffer, returning its contents when the specified delimiter character is encountered.", + "bluetooth.uartRead|block": "bluetooth uart read %del=bluetooth_uart_delimiter_conv", + "bluetooth.uartWrite": "Writes to the Bluetooth UART service buffer. From there the data is transmitted over Bluetooth to a connected device.", + "bluetooth.uartWrite|block": "bluetooth uart write %data", + "bluetooth|block": "bluetooth" +} \ No newline at end of file diff --git a/libs/microbit-devices/_locales/microbit-devices-strings.json b/libs/microbit-devices/_locales/microbit-devices-strings.json new file mode 100644 index 00000000..a3098eca --- /dev/null +++ b/libs/microbit-devices/_locales/microbit-devices-strings.json @@ -0,0 +1,26 @@ +{ + "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|block": "on gamepad button|%NAME", + "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|block": "on notified|%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|block": "on signal strength changed", + "devices.onSignalStrengthChanged|param|body": "Code run when the signal strength changes.", + "devices.raiseAlertTo": "Sends an ``alert`` command to the parent device.", + "devices.raiseAlertTo|block": "raise alert to|%property", + "devices.raiseAlertTo|param|event": "event description", + "devices.signalStrength": "Returns the last signal strength reported by the paired device.", + "devices.signalStrength|block": "signal strength", + "devices.tellCameraTo": "Sends a ``camera`` command to the parent device.", + "devices.tellCameraTo|block": "tell camera to|%property", + "devices.tellCameraTo|param|event": "event description", + "devices.tellRemoteControlTo": "Sends a ``remote control`` command to the parent device.", + "devices.tellRemoteControlTo|block": "tell remote control to|%property", + "devices.tellRemoteControlTo|param|event": "event description", + "devices|block": "devices" +} \ No newline at end of file diff --git a/libs/microbit/_locales/microbit-strings.json b/libs/microbit/_locales/microbit-strings.json index 73404cb4..6f719e74 100644 --- a/libs/microbit/_locales/microbit-strings.json +++ b/libs/microbit/_locales/microbit-strings.json @@ -92,7 +92,7 @@ "input.onShake": "Attaches code to run when the device is shaken.", "input.onShake|param|body": "TODO", "input.pinIsPressed": "Get the pin state (pressed or not). Requires to hold the ground to close the circuit.", - "input.pinIsPressed|block": "pin|%NAME|is pressed", + "input.pinIsPressed|block": "pin %NAME|is pressed", "input.pinIsPressed|param|name": "pin used to detect the touch", "input.rotation": "The pitch of the device, rotation along the ``x-axis``, in degrees.", "input.rotation|block": "rotation (°)|%NAME", From 79113115e068aba6dcc597d7f5f5e32ba1561ad7 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 27 Jul 2016 10:57:18 -0700 Subject: [PATCH 13/16] docs update --- docs/reference/bluetooth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/bluetooth.md b/docs/reference/bluetooth.md index 1961bbf5..086bbcc5 100644 --- a/docs/reference/bluetooth.md +++ b/docs/reference/bluetooth.md @@ -21,4 +21,4 @@ bluetooth.onBluetoothDisconnected(() => { ```package microbit-bluetooth -``` \ No newline at end of file +``` From bc04d3059560344a80152e91c8326f8b9a87083c Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 27 Jul 2016 13:15:30 -0700 Subject: [PATCH 14/16] some updates to setup instructions --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d435614..15ab763f 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,14 @@ PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt ## Local server +The local server allows to run the editor and the documentation from your computer. + ### Setup The following commands are a 1-time setup after synching the repo on your machine. -* clone this repo to your computer +* [clone this repo](https://help.github.com/articles/cloning-a-repository/) to your computer +* install [Node.js 4.4.5 or higher](https://nodejs.org/en/download/) * install the PXT command line ``` npm install -g pxt From 69c3d2d2494e9a9c24f06445319fdc467397f589 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 27 Jul 2016 13:28:57 -0700 Subject: [PATCH 15/16] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 15ab763f..7c4903b0 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ The local server allows to run the editor and the documentation from your comput The following commands are a 1-time setup after synching the repo on your machine. +* if not yet installed, install [Node.js 4.4.5 or higher](https://nodejs.org/en/download/) * [clone this repo](https://help.github.com/articles/cloning-a-repository/) to your computer -* install [Node.js 4.4.5 or higher](https://nodejs.org/en/download/) -* install the PXT command line +* install the PXT command line (add ``sudo`` for Mac/Linux shells). ``` npm install -g pxt ``` @@ -40,7 +40,9 @@ If you need modify the `.cpp` files, turn on yotta compilation with the ``-yt`` pxt serve -yt ``` -To make sure you're running the latest tools, run (add ``sudo`` for Mac/Linux shells) +## Updates + +To update your PXT version and make sure you're running the latest tools, run (add ``sudo`` for Mac/Linux shells) ``` pxt update ``` From cff88d67ad53b8e00b34dcda396b74de1f327539 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 27 Jul 2016 13:48:57 -0700 Subject: [PATCH 16/16] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c4903b0..b0eb8c9d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,11 @@ The local server allows to run the editor and the documentation from your comput The following commands are a 1-time setup after synching the repo on your machine. * if not yet installed, install [Node.js 4.4.5 or higher](https://nodejs.org/en/download/) -* [clone this repo](https://help.github.com/articles/cloning-a-repository/) to your computer +* [clone this repo](https://help.github.com/articles/cloning-a-repository/) to your computer and go in the project folder +``` +git clone https://github.com/microsoft/pxt-microbit +cd pxt-microbit +``` * install the PXT command line (add ``sudo`` for Mac/Linux shells). ``` npm install -g pxt