pxt-common-packages 13.1.5 → 13.1.7
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/built/common-sim.d.ts +0 -6
- package/built/common-sim.js +0 -23
- package/libs/accelerometer/built/debug/binary.js +8 -8
- package/libs/animation/legacy.ts +2 -0
- package/libs/azureiot/built/debug/binary.js +461 -461
- package/libs/color/built/debug/binary.js +8 -8
- package/libs/color-sensor/built/debug/binary.js +8 -8
- package/libs/controller/built/debug/binary.js +7348 -7348
- package/libs/controller---none/built/debug/binary.js +7328 -7328
- package/libs/core/_locales/core-jsdoc-strings.json +0 -13
- package/libs/core/_locales/core-strings.json +0 -2
- package/libs/core/pxt.json +0 -2
- package/libs/core/shims.d.ts +0 -30
- package/libs/core---samd/_locales/core---samd-jsdoc-strings.json +0 -13
- package/libs/core---samd/_locales/core---samd-strings.json +0 -2
- package/libs/core---samd/built/debug/binary.js +8 -8
- package/libs/core---samd/shims.d.ts +0 -30
- package/libs/datalogger/built/debug/binary.js +63 -63
- package/libs/edge-connector/built/debug/binary.js +8 -8
- package/libs/esp32/built/debug/binary.js +462 -462
- package/libs/game/animation.ts +3 -0
- package/libs/game/built/debug/binary.js +7267 -7267
- package/libs/game/controller.ts +2 -0
- package/libs/game/particleeffects.ts +1 -0
- package/libs/game/scenes.ts +1 -0
- package/libs/game/sprite.ts +2 -0
- package/libs/game/sprites.ts +1 -0
- package/libs/game/tilemap.ts +2 -0
- package/libs/gamepad/built/debug/binary.js +8 -8
- package/libs/keyboard/built/debug/binary.js +8 -8
- package/libs/lcd/built/debug/binary.js +8 -8
- package/libs/light/built/debug/binary.js +8 -8
- package/libs/light-spectrum-sensor/built/debug/binary.js +8 -8
- package/libs/lora/built/debug/binary.js +8 -8
- package/libs/matrix-keypad/built/debug/binary.js +8 -8
- package/libs/microphone/built/debug/binary.js +8 -8
- package/libs/mouse/built/debug/binary.js +8 -8
- package/libs/mqtt/built/debug/binary.js +176 -176
- package/libs/music/built/debug/binary.js +8 -8
- package/libs/net/built/debug/binary.js +176 -176
- package/libs/net-game/built/debug/binary.js +8984 -8984
- package/libs/palette/built/debug/binary.js +7266 -7266
- package/libs/pixel/built/debug/binary.js +8 -8
- package/libs/power/built/debug/binary.js +8 -8
- package/libs/proximity/built/debug/binary.js +8 -8
- package/libs/pulse/built/debug/binary.js +8 -8
- package/libs/radio/built/debug/binary.js +8 -8
- package/libs/radio-broadcast/built/debug/binary.js +8 -8
- package/libs/rotary-encoder/built/debug/binary.js +8 -8
- package/libs/screen/built/debug/binary.js +50 -50
- package/libs/servo/built/debug/binary.js +8 -8
- package/libs/sprite-scaling/built/debug/binary.js +7266 -7266
- package/libs/sprite-scaling/scaling.ts +4 -0
- package/libs/storyboard/built/debug/binary.js +7266 -7266
- package/libs/tests/built/debug/binary.js +15 -15
- package/libs/thermometer/built/debug/binary.js +8 -8
- package/package.json +1 -1
- package/libs/core/keyvaluestorage.cpp +0 -109
- package/libs/core/keyvaluestorage.ts +0 -43
- package/libs/core/sim/keyvaluestorage.ts +0 -15
package/built/common-sim.d.ts
CHANGED
|
@@ -574,12 +574,6 @@ declare namespace pxsim {
|
|
|
574
574
|
createSerialDevice(tx: pins.DigitalInOutPin, rx: pins.DigitalInOutPin, id: number): SerialDevice;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
declare namespace pxsim.configStorage {
|
|
578
|
-
function setBuffer(key: string, value: RefBuffer): void;
|
|
579
|
-
function getBuffer(key: string): RefBuffer;
|
|
580
|
-
function removeItem(key: string): void;
|
|
581
|
-
function clear(): void;
|
|
582
|
-
}
|
|
583
577
|
declare namespace pxsim.visuals {
|
|
584
578
|
function mkLedPart(xy?: Coord): SVGElAndSize;
|
|
585
579
|
class LedView implements IBoardPart<EdgeConnectorState> {
|
package/built/common-sim.js
CHANGED
|
@@ -1802,29 +1802,6 @@ var pxsim;
|
|
|
1802
1802
|
pxsim.EdgeConnectorState = EdgeConnectorState;
|
|
1803
1803
|
})(pxsim || (pxsim = {}));
|
|
1804
1804
|
var pxsim;
|
|
1805
|
-
(function (pxsim) {
|
|
1806
|
-
var configStorage;
|
|
1807
|
-
(function (configStorage) {
|
|
1808
|
-
function setBuffer(key, value) {
|
|
1809
|
-
// TODO
|
|
1810
|
-
}
|
|
1811
|
-
configStorage.setBuffer = setBuffer;
|
|
1812
|
-
function getBuffer(key) {
|
|
1813
|
-
// TODO
|
|
1814
|
-
return undefined;
|
|
1815
|
-
}
|
|
1816
|
-
configStorage.getBuffer = getBuffer;
|
|
1817
|
-
function removeItem(key) {
|
|
1818
|
-
// TODO
|
|
1819
|
-
}
|
|
1820
|
-
configStorage.removeItem = removeItem;
|
|
1821
|
-
function clear() {
|
|
1822
|
-
// TODO
|
|
1823
|
-
}
|
|
1824
|
-
configStorage.clear = clear;
|
|
1825
|
-
})(configStorage = pxsim.configStorage || (pxsim.configStorage = {}));
|
|
1826
|
-
})(pxsim || (pxsim = {}));
|
|
1827
|
-
var pxsim;
|
|
1828
1805
|
(function (pxsim) {
|
|
1829
1806
|
var visuals;
|
|
1830
1807
|
(function (visuals) {
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P10906(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___11150 = (undefined);
|
|
70
|
+
globals._pollEventQueue___11163 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P10906.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/base/ns.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P10906.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P10906_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P10906, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P10954_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P10906
|
|
91
91
|
})
|
package/libs/animation/legacy.ts
CHANGED
|
@@ -155,6 +155,7 @@ namespace animation {
|
|
|
155
155
|
*/
|
|
156
156
|
//% blockId=attachAnimation
|
|
157
157
|
//% block="attach animation $set=variables_get(anim) to sprite $sprite=variables_get(mySprite)"
|
|
158
|
+
//% sprite.defl=mySprite
|
|
158
159
|
//% group="Advanced"
|
|
159
160
|
//% weight=30
|
|
160
161
|
//% help=animation/attach-animation
|
|
@@ -167,6 +168,7 @@ namespace animation {
|
|
|
167
168
|
*/
|
|
168
169
|
//% blockId=setAction
|
|
169
170
|
//% block="activate animation $action=action_enum_shim on $sprite=variables_get(mySprite)"
|
|
171
|
+
//% sprite.defl=mySprite
|
|
170
172
|
//% group="Advanced"
|
|
171
173
|
//% weight=20
|
|
172
174
|
//% help=animation/set-action
|