pxt-common-packages 13.2.6 → 13.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/azureiot/built/debug/binary.js +5 -5
- package/libs/base/console.ts +2 -0
- package/libs/base/control.cpp +2 -0
- package/libs/base/control.ts +3 -0
- package/libs/base/eventcontext.ts +1 -0
- package/libs/base/loops.cpp +1 -0
- package/libs/base/math.ts +2 -0
- package/libs/base/pause.ts +1 -0
- package/libs/color/colors.ts +3 -0
- package/libs/controller/built/debug/binary.js +27 -27
- package/libs/controller---none/built/debug/binary.js +27 -27
- package/libs/esp32/built/debug/binary.js +5 -5
- package/libs/game/built/debug/binary.js +27 -27
- package/libs/microphone/microphone.cpp +1 -0
- package/libs/microphone/shims.d.ts +1 -0
- package/libs/mixer/instrument.ts +31 -27
- package/libs/net-game/built/debug/binary.js +28 -28
- package/libs/palette/built/debug/binary.js +27 -27
- package/libs/radio/radio.cpp +4 -0
- package/libs/radio/radio.ts +5 -0
- package/libs/radio/shims.d.ts +4 -0
- package/libs/radio-broadcast/radio-broadcast.ts +2 -0
- package/libs/screen/built/debug/binary.js +2 -2
- package/libs/servo/servo.ts +5 -0
- package/libs/sprite-scaling/built/debug/binary.js +27 -27
- package/libs/storyboard/built/debug/binary.js +27 -27
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=81440 new=94.00% cached=0.00% other=6.00%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -633,7 +633,7 @@ switch (step) {
|
|
|
633
633
|
return leave(s, r0)
|
|
634
634
|
default: oops()
|
|
635
635
|
} } }
|
|
636
|
-
pause__P137397.info = {"start":
|
|
636
|
+
pause__P137397.info = {"start":267,"length":57,"line":8,"column":0,"endLine":10,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
|
|
637
637
|
|
|
638
638
|
function pause__P137397_mk(s) {
|
|
639
639
|
checkStack(s.depth);
|
|
@@ -743,7 +743,7 @@ switch (step) {
|
|
|
743
743
|
return leave(s, r0)
|
|
744
744
|
default: oops()
|
|
745
745
|
} } }
|
|
746
|
-
control_allocateEventSource__P137306.info = {"start":
|
|
746
|
+
control_allocateEventSource__P137306.info = {"start":2603,"length":72,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"allocateEventSource","argumentNames":[]}
|
|
747
747
|
|
|
748
748
|
function control_allocateEventSource__P137306_mk(s) {
|
|
749
749
|
checkStack(s.depth);
|
|
@@ -1140,7 +1140,7 @@ switch (step) {
|
|
|
1140
1140
|
return leave(s, r0)
|
|
1141
1141
|
default: oops()
|
|
1142
1142
|
} } }
|
|
1143
|
-
console_inspect__P137348.info = {"start":
|
|
1143
|
+
console_inspect__P137348.info = {"start":2345,"length":1190,"line":83,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
|
|
1144
1144
|
|
|
1145
1145
|
function console_inspect__P137348_mk(s) {
|
|
1146
1146
|
checkStack(s.depth);
|
|
@@ -1232,7 +1232,7 @@ switch (step) {
|
|
|
1232
1232
|
return leave(s, r0)
|
|
1233
1233
|
default: oops()
|
|
1234
1234
|
} } }
|
|
1235
|
-
console_inspect_inline__P138270.info = {"start":
|
|
1235
|
+
console_inspect_inline__P138270.info = {"start":3367,"length":61,"line":110,"column":20,"endLine":110,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
|
|
1236
1236
|
|
|
1237
1237
|
function console_inspect_inline__P138270_mk(s) {
|
|
1238
1238
|
checkStack(s.depth);
|
package/libs/base/console.ts
CHANGED
|
@@ -55,6 +55,7 @@ namespace console {
|
|
|
55
55
|
//% weight=90
|
|
56
56
|
//% help=console/log blockGap=8
|
|
57
57
|
//% blockId=console_log block="console log $value"
|
|
58
|
+
//% value.label="value"
|
|
58
59
|
//% value.shadow=text
|
|
59
60
|
export function log(value: any): void {
|
|
60
61
|
add(ConsolePriority.Log, value);
|
|
@@ -68,6 +69,7 @@ namespace console {
|
|
|
68
69
|
//% weight=88 blockGap=8
|
|
69
70
|
//% help=console/log-value
|
|
70
71
|
//% blockId=console_log_value block="console|log value %name|= %value"
|
|
72
|
+
//% name.label="name" value.label="value"
|
|
71
73
|
//% name.shadow=text
|
|
72
74
|
//% value.shadow=math_number
|
|
73
75
|
export function logValue(name: any, value: any): void {
|
package/libs/base/control.cpp
CHANGED
|
@@ -42,6 +42,7 @@ namespace control {
|
|
|
42
42
|
*/
|
|
43
43
|
//% help=control/wait-micros weight=29 async
|
|
44
44
|
//% blockId="control_wait_us" block="wait (µs)%micros"
|
|
45
|
+
//% micros.label="microseconds"
|
|
45
46
|
void waitMicros(int micros) {
|
|
46
47
|
sleep_us(micros);
|
|
47
48
|
}
|
|
@@ -60,6 +61,7 @@ namespace control {
|
|
|
60
61
|
*/
|
|
61
62
|
//% help=control/wait-for-event async
|
|
62
63
|
//% blockId=control_wait_for_event block="wait for event|from %src|with value %value"
|
|
64
|
+
//% src.label="source" value.label="value"
|
|
63
65
|
void waitForEvent(int src, int value) {
|
|
64
66
|
pxt::waitForEvent(src, value);
|
|
65
67
|
}
|
package/libs/base/control.ts
CHANGED
|
@@ -61,6 +61,7 @@ namespace control {
|
|
|
61
61
|
*/
|
|
62
62
|
//% help=control/panic weight=29
|
|
63
63
|
//% blockId="control_panic" block="panic %code"
|
|
64
|
+
//% code.label="code"
|
|
64
65
|
//% shim=pxtrt::panic
|
|
65
66
|
export function panic(code: number) { }
|
|
66
67
|
|
|
@@ -69,6 +70,7 @@ namespace control {
|
|
|
69
70
|
*/
|
|
70
71
|
//% help=control/assert weight=30
|
|
71
72
|
//% blockId="control_assert" block="assert %cond|with value %code"
|
|
73
|
+
//% cond.label="condition" code.label="code"
|
|
72
74
|
export function assert(cond: boolean, code: number) {
|
|
73
75
|
if (!cond) {
|
|
74
76
|
fail("Assertion failed, code=" + code)
|
|
@@ -184,6 +186,7 @@ namespace control {
|
|
|
184
186
|
*/
|
|
185
187
|
//% help=text/convert-to-text weight=1
|
|
186
188
|
//% block="convert $value=math_number to text"
|
|
189
|
+
//% value.label="value"
|
|
187
190
|
//% blockId=variable_to_text blockNamespace="text"
|
|
188
191
|
function convertToText(value: any): string {
|
|
189
192
|
return "" + value;
|
|
@@ -5,6 +5,7 @@ namespace control {
|
|
|
5
5
|
* @param value the event value to match
|
|
6
6
|
*/
|
|
7
7
|
//% weight=20 blockGap=8 blockId="control_on_event" block="on event|from %src|with value %value"
|
|
8
|
+
//% src.label="source" value.label="value"
|
|
8
9
|
//% blockExternalInputs=1
|
|
9
10
|
//% help="control/on-event"
|
|
10
11
|
export function onEvent(src: number, value: number, handler: () => void, flags = 16) { // EVENT_LISTENER_DEFAULT_FLAGS
|
package/libs/base/loops.cpp
CHANGED
package/libs/base/math.ts
CHANGED
|
@@ -34,6 +34,7 @@ namespace Math {
|
|
|
34
34
|
*/
|
|
35
35
|
//% help=math/map weight=10 blockGap=8
|
|
36
36
|
//% blockId=math_map block="map %value|from low %fromLow|high %fromHigh|to low %toLow|high %toHigh"
|
|
37
|
+
//% value.label="value" fromLow.label="from low" fromHigh.label="from high" toLow.label="to low" toHigh.label="to high"
|
|
37
38
|
//% inlineInputMode=inline
|
|
38
39
|
export function map(value: number, fromLow: number, fromHigh: number, toLow: number, toHigh: number): number {
|
|
39
40
|
return ((value - fromLow) * (toHigh - toLow)) / (fromHigh - fromLow) + toLow;
|
|
@@ -47,6 +48,7 @@ namespace Math {
|
|
|
47
48
|
*/
|
|
48
49
|
//% help=math/constrain weight=11 blockGap=8
|
|
49
50
|
//% blockId="math_constrain_value" block="constrain %value|between %low|and %high"
|
|
51
|
+
//% value.label="value" low.label="minimum" high.label="maximum"
|
|
50
52
|
export function constrain(value: number, low: number, high: number): number {
|
|
51
53
|
return value < low ? low : value > high ? high : value;
|
|
52
54
|
}
|
package/libs/base/pause.ts
CHANGED
package/libs/color/colors.ts
CHANGED
|
@@ -73,6 +73,7 @@ namespace color {
|
|
|
73
73
|
* @param blue value of the blue channel between 0 and 255. eg: 255
|
|
74
74
|
*/
|
|
75
75
|
//% blockId="colorsrgb" block="red %red|green %green|blue %blue"
|
|
76
|
+
//% red.label="red" green.label="green" blue.label="blue"
|
|
76
77
|
//% red.min=0 red.max=255 green.min=0 green.max=255 blue.min=0 blue.max=255
|
|
77
78
|
//% help="colors/rgb"
|
|
78
79
|
//% weight=19 blockGap=8
|
|
@@ -105,6 +106,7 @@ namespace color {
|
|
|
105
106
|
*/
|
|
106
107
|
|
|
107
108
|
//% blockId="colorshsv" block="hue %hue|sat %sat|val %val"
|
|
109
|
+
//% hue.label="hue" sat.label="saturation" val.label="brightness"
|
|
108
110
|
//% hue.min=0 hue.max=255 sat.min=0 sat.max=255 val.min=0 val.max=255
|
|
109
111
|
//% help="colors/hsv"
|
|
110
112
|
//% weight=17
|
|
@@ -161,6 +163,7 @@ namespace color {
|
|
|
161
163
|
* @param brightness the amount of brightness to apply to the color, eg: 128
|
|
162
164
|
*/
|
|
163
165
|
//% blockId="colorsfade" block="fade %color=neopixel_colors|by %brightness"
|
|
166
|
+
//% color.label="color" brightness.label="brightness"
|
|
164
167
|
//% brightness.min=0 brightness.max=255
|
|
165
168
|
//% help="light/fade"
|
|
166
169
|
//% group="Color" weight=18 blockGap=8
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=1703212 new=71.05% cached=0.00% other=28.95%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -1525,7 +1525,7 @@ switch (step) {
|
|
|
1525
1525
|
return leave(s, r0)
|
|
1526
1526
|
default: oops()
|
|
1527
1527
|
} } }
|
|
1528
|
-
control_EventContext_registerFrameHandler__P65715.info = {"start":
|
|
1528
|
+
control_EventContext_registerFrameHandler__P65715.info = {"start":4909,"length":643,"line":148,"column":8,"endLine":165,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]}
|
|
1529
1529
|
|
|
1530
1530
|
function control_EventContext_registerFrameHandler__P65715_mk(s) {
|
|
1531
1531
|
checkStack(s.depth);
|
|
@@ -1590,7 +1590,7 @@ switch (step) {
|
|
|
1590
1590
|
return leave(s, r0)
|
|
1591
1591
|
default: oops()
|
|
1592
1592
|
} } }
|
|
1593
|
-
control_EventContext_registerFrameCallbacks__P65712.info = {"start":
|
|
1593
|
+
control_EventContext_registerFrameCallbacks__P65712.info = {"start":3715,"length":895,"line":110,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]}
|
|
1594
1594
|
|
|
1595
1595
|
function control_EventContext_registerFrameCallbacks__P65712_mk(s) {
|
|
1596
1596
|
checkStack(s.depth);
|
|
@@ -1666,7 +1666,7 @@ switch (step) {
|
|
|
1666
1666
|
return leave(s, r0)
|
|
1667
1667
|
default: oops()
|
|
1668
1668
|
} } }
|
|
1669
|
-
control_EventContext_registerFrameCallbacks_inline__P68215.info = {"start":
|
|
1669
|
+
control_EventContext_registerFrameCallbacks_inline__P68215.info = {"start":3876,"length":723,"line":114,"column":34,"endLine":133,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
|
|
1670
1670
|
|
|
1671
1671
|
function control_EventContext_registerFrameCallbacks_inline__P68215_mk(s) {
|
|
1672
1672
|
checkStack(s.depth);
|
|
@@ -1700,7 +1700,7 @@ switch (step) {
|
|
|
1700
1700
|
return leave(s, r0)
|
|
1701
1701
|
default: oops()
|
|
1702
1702
|
} } }
|
|
1703
|
-
control_EventContext_registerFrameCallbacks_inline__P68221.info = {"start":
|
|
1703
|
+
control_EventContext_registerFrameCallbacks_inline__P68221.info = {"start":4107,"length":28,"line":118,"column":31,"endLine":118,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
|
|
1704
1704
|
|
|
1705
1705
|
function control_EventContext_registerFrameCallbacks_inline__P68221_mk(s) {
|
|
1706
1706
|
checkStack(s.depth);
|
|
@@ -1967,7 +1967,7 @@ switch (step) {
|
|
|
1967
1967
|
return leave(s, r0)
|
|
1968
1968
|
default: oops()
|
|
1969
1969
|
} } }
|
|
1970
|
-
control_EventContext_runCallbacks__P65711.info = {"start":
|
|
1970
|
+
control_EventContext_runCallbacks__P65711.info = {"start":2267,"length":1395,"line":76,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]}
|
|
1971
1971
|
|
|
1972
1972
|
function control_EventContext_runCallbacks__P65711_mk(s) {
|
|
1973
1973
|
checkStack(s.depth);
|
|
@@ -2274,7 +2274,7 @@ switch (step) {
|
|
|
2274
2274
|
return leave(s, r0)
|
|
2275
2275
|
default: oops()
|
|
2276
2276
|
} } }
|
|
2277
|
-
control_onEvent__P65702.info = {"start":
|
|
2277
|
+
control_onEvent__P65702.info = {"start":383,"length":325,"line":10,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]}
|
|
2278
2278
|
|
|
2279
2279
|
function control_onEvent__P65702_mk(s) {
|
|
2280
2280
|
checkStack(s.depth);
|
|
@@ -2381,7 +2381,7 @@ switch (step) {
|
|
|
2381
2381
|
return leave(s, r0)
|
|
2382
2382
|
default: oops()
|
|
2383
2383
|
} } }
|
|
2384
|
-
control_EventContext_registerHandler__P65717.info = {"start":
|
|
2384
|
+
control_EventContext_registerHandler__P65717.info = {"start":5807,"length":525,"line":174,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]}
|
|
2385
2385
|
|
|
2386
2386
|
function control_EventContext_registerHandler__P65717_mk(s) {
|
|
2387
2387
|
checkStack(s.depth);
|
|
@@ -2438,7 +2438,7 @@ switch (step) {
|
|
|
2438
2438
|
return leave(s, r0)
|
|
2439
2439
|
default: oops()
|
|
2440
2440
|
} } }
|
|
2441
|
-
control_EventHandler_register__P65705.info = {"start":
|
|
2441
|
+
control_EventHandler_register__P65705.info = {"start":1008,"length":165,"line":31,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
|
|
2442
2442
|
|
|
2443
2443
|
function control_EventHandler_register__P65705_mk(s) {
|
|
2444
2444
|
checkStack(s.depth);
|
|
@@ -2488,7 +2488,7 @@ switch (step) {
|
|
|
2488
2488
|
return leave(s, r0)
|
|
2489
2489
|
default: oops()
|
|
2490
2490
|
} } }
|
|
2491
|
-
control_EventHandler_register_inline__P68513.info = {"start":
|
|
2491
|
+
control_EventHandler_register_inline__P68513.info = {"start":1079,"length":71,"line":32,"column":58,"endLine":34,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
|
|
2492
2492
|
|
|
2493
2493
|
function control_EventHandler_register_inline__P68513_mk(s) {
|
|
2494
2494
|
checkStack(s.depth);
|
|
@@ -2530,7 +2530,7 @@ switch (step) {
|
|
|
2530
2530
|
return leave(s, r0)
|
|
2531
2531
|
default: oops()
|
|
2532
2532
|
} } }
|
|
2533
|
-
control_EventHandler_constructor__P65707.info = {"start":
|
|
2533
|
+
control_EventHandler_constructor__P65707.info = {"start":833,"length":165,"line":24,"column":8,"endLine":29,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]}
|
|
2534
2534
|
|
|
2535
2535
|
function control_EventHandler_constructor__P65707_mk(s) {
|
|
2536
2536
|
checkStack(s.depth);
|
|
@@ -2575,7 +2575,7 @@ switch (step) {
|
|
|
2575
2575
|
return leave(s, r0)
|
|
2576
2576
|
default: oops()
|
|
2577
2577
|
} } }
|
|
2578
|
-
control_eventContext__P65725.info = {"start":
|
|
2578
|
+
control_eventContext__P65725.info = {"start":7141,"length":136,"line":214,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]}
|
|
2579
2579
|
|
|
2580
2580
|
function control_eventContext__P65725_mk(s) {
|
|
2581
2581
|
checkStack(s.depth);
|
|
@@ -4112,7 +4112,7 @@ switch (step) {
|
|
|
4112
4112
|
return leave(s, r0)
|
|
4113
4113
|
default: oops()
|
|
4114
4114
|
} } }
|
|
4115
|
-
console_addListener__P65683.info = {"start":
|
|
4115
|
+
console_addListener__P65683.info = {"start":3632,"length":197,"line":123,"column":4,"endLine":126,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]}
|
|
4116
4116
|
|
|
4117
4117
|
function console_addListener__P65683_mk(s) {
|
|
4118
4118
|
checkStack(s.depth);
|
|
@@ -6876,7 +6876,7 @@ switch (step) {
|
|
|
6876
6876
|
return leaveAccessor(s, r0)
|
|
6877
6877
|
default: oops()
|
|
6878
6878
|
} } }
|
|
6879
|
-
control_EventContext_deltaTime__P65710.info = {"start":
|
|
6879
|
+
control_EventContext_deltaTime__P65710.info = {"start":2182,"length":75,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]}
|
|
6880
6880
|
control_EventContext_deltaTime__P65710.isGetter = true;
|
|
6881
6881
|
|
|
6882
6882
|
function control_EventContext_deltaTime__P65710_mk(s) {
|
|
@@ -12669,7 +12669,7 @@ switch (step) {
|
|
|
12669
12669
|
return leave(s, r0)
|
|
12670
12670
|
default: oops()
|
|
12671
12671
|
} } }
|
|
12672
|
-
control_pushEventContext__P65726.info = {"start":
|
|
12672
|
+
control_pushEventContext__P65726.info = {"start":7357,"length":340,"line":221,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]}
|
|
12673
12673
|
|
|
12674
12674
|
function control_pushEventContext__P65726_mk(s) {
|
|
12675
12675
|
checkStack(s.depth);
|
|
@@ -12724,7 +12724,7 @@ switch (step) {
|
|
|
12724
12724
|
return leave(s, r0)
|
|
12725
12725
|
default: oops()
|
|
12726
12726
|
} } }
|
|
12727
|
-
control_EventContext_constructor__P65723.info = {"start":
|
|
12727
|
+
control_EventContext_constructor__P65723.info = {"start":1825,"length":347,"line":60,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]}
|
|
12728
12728
|
|
|
12729
12729
|
function control_EventContext_constructor__P65723_mk(s) {
|
|
12730
12730
|
checkStack(s.depth);
|
|
@@ -12790,7 +12790,7 @@ switch (step) {
|
|
|
12790
12790
|
return leave(s, r0)
|
|
12791
12791
|
default: oops()
|
|
12792
12792
|
} } }
|
|
12793
|
-
control_EventContext_unregister__P65714.info = {"start":
|
|
12793
|
+
control_EventContext_unregister__P65714.info = {"start":4768,"length":131,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
|
|
12794
12794
|
|
|
12795
12795
|
function control_EventContext_unregister__P65714_mk(s) {
|
|
12796
12796
|
checkStack(s.depth);
|
|
@@ -12836,7 +12836,7 @@ switch (step) {
|
|
|
12836
12836
|
return leave(s, r0)
|
|
12837
12837
|
default: oops()
|
|
12838
12838
|
} } }
|
|
12839
|
-
control_EventHandler_unregister__P65706.info = {"start":
|
|
12839
|
+
control_EventHandler_unregister__P65706.info = {"start":1183,"length":106,"line":37,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
|
|
12840
12840
|
|
|
12841
12841
|
function control_EventHandler_unregister__P65706_mk(s) {
|
|
12842
12842
|
checkStack(s.depth);
|
|
@@ -12866,7 +12866,7 @@ switch (step) {
|
|
|
12866
12866
|
return leave(s, r0)
|
|
12867
12867
|
default: oops()
|
|
12868
12868
|
} } }
|
|
12869
|
-
control_doNothing__P65708.info = {"start":
|
|
12869
|
+
control_doNothing__P65708.info = {"start":1301,"length":24,"line":42,"column":4,"endLine":42,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]}
|
|
12870
12870
|
|
|
12871
12871
|
function control_doNothing__P65708_mk(s) {
|
|
12872
12872
|
checkStack(s.depth);
|
|
@@ -14686,7 +14686,7 @@ switch (step) {
|
|
|
14686
14686
|
return leave(s, r0)
|
|
14687
14687
|
default: oops()
|
|
14688
14688
|
} } }
|
|
14689
|
-
control_popEventContext__P65727.info = {"start":
|
|
14689
|
+
control_popEventContext__P65727.info = {"start":7802,"length":413,"line":237,"column":4,"endLine":251,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]}
|
|
14690
14690
|
|
|
14691
14691
|
function control_popEventContext__P65727_mk(s) {
|
|
14692
14692
|
checkStack(s.depth);
|
|
@@ -14753,7 +14753,7 @@ switch (step) {
|
|
|
14753
14753
|
return leave(s, r0)
|
|
14754
14754
|
default: oops()
|
|
14755
14755
|
} } }
|
|
14756
|
-
control_EventContext_register__P65713.info = {"start":
|
|
14756
|
+
control_EventContext_register__P65713.info = {"start":4620,"length":138,"line":136,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
|
|
14757
14757
|
|
|
14758
14758
|
function control_EventContext_register__P65713_mk(s) {
|
|
14759
14759
|
checkStack(s.depth);
|
|
@@ -20404,7 +20404,7 @@ switch (step) {
|
|
|
20404
20404
|
return leave(s, r0)
|
|
20405
20405
|
default: oops()
|
|
20406
20406
|
} } }
|
|
20407
|
-
console_log__P65680.info = {"start":
|
|
20407
|
+
console_log__P65680.info = {"start":1478,"length":86,"line":59,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]}
|
|
20408
20408
|
|
|
20409
20409
|
function console_log__P65680_mk(s) {
|
|
20410
20410
|
checkStack(s.depth);
|
|
@@ -20719,7 +20719,7 @@ switch (step) {
|
|
|
20719
20719
|
return leave(s, r0)
|
|
20720
20720
|
default: oops()
|
|
20721
20721
|
} } }
|
|
20722
|
-
console_inspect__P65682.info = {"start":
|
|
20722
|
+
console_inspect__P65682.info = {"start":2345,"length":1190,"line":83,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
|
|
20723
20723
|
|
|
20724
20724
|
function console_inspect__P65682_mk(s) {
|
|
20725
20725
|
checkStack(s.depth);
|
|
@@ -20811,7 +20811,7 @@ switch (step) {
|
|
|
20811
20811
|
return leave(s, r0)
|
|
20812
20812
|
default: oops()
|
|
20813
20813
|
} } }
|
|
20814
|
-
console_inspect_inline__P73650.info = {"start":
|
|
20814
|
+
console_inspect_inline__P73650.info = {"start":3367,"length":61,"line":110,"column":20,"endLine":110,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
|
|
20815
20815
|
|
|
20816
20816
|
function console_inspect_inline__P73650_mk(s) {
|
|
20817
20817
|
checkStack(s.depth);
|
|
@@ -25924,7 +25924,7 @@ switch (step) {
|
|
|
25924
25924
|
return leave(s, r0)
|
|
25925
25925
|
default: oops()
|
|
25926
25926
|
} } }
|
|
25927
|
-
control_ramSize__P65650.info = {"start":
|
|
25927
|
+
control_ramSize__P65650.info = {"start":4922,"length":100,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]}
|
|
25928
25928
|
|
|
25929
25929
|
function control_ramSize__P65650_mk(s) {
|
|
25930
25930
|
checkStack(s.depth);
|
|
@@ -25952,7 +25952,7 @@ switch (step) {
|
|
|
25952
25952
|
return leave(s, r0)
|
|
25953
25953
|
default: oops()
|
|
25954
25954
|
} } }
|
|
25955
|
-
control__ramSize__P65649.info = {"start":
|
|
25955
|
+
control__ramSize__P65649.info = {"start":4802,"length":60,"line":162,"column":4,"endLine":164,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]}
|
|
25956
25956
|
|
|
25957
25957
|
function control__ramSize__P65649_mk(s) {
|
|
25958
25958
|
checkStack(s.depth);
|
|
@@ -28218,7 +28218,7 @@ switch (step) {
|
|
|
28218
28218
|
return leave(s, r0)
|
|
28219
28219
|
default: oops()
|
|
28220
28220
|
} } }
|
|
28221
|
-
pause__P65731.info = {"start":
|
|
28221
|
+
pause__P65731.info = {"start":267,"length":57,"line":8,"column":0,"endLine":10,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
|
|
28222
28222
|
|
|
28223
28223
|
function pause__P65731_mk(s) {
|
|
28224
28224
|
checkStack(s.depth);
|