updated pxt (#2465)

* updated pxt

* bump pxt

* updated react

* updated ptx

* Remove empty variable element from XML

* Bump pxt-core to 5.25.15

* bump pxt

* Bump pxt to 5.25.17

* Add precision to music slider
This commit is contained in:
Peli de Halleux 2019-10-17 14:49:13 -07:00 committed by GitHub
parent 58aa0b63a4
commit a1f135d9fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 6 deletions

View File

@ -106,6 +106,7 @@
"Image.showImage": "Shows an frame from the image at offset ``x offset``.",
"Image.showImage|param|xOffset": "column index to start displaying the image",
"Image.width": "Gets the width in columns",
"Infinity": "Constant representing positive infinity.",
"Math": "More complex operations with numbers.",
"Math.abs": "Returns the absolute value of a number (the value without regard to whether it is positive or negative).\nFor example, the absolute value of -5 is the same as the absolute value of 5.",
"Math.abs|param|x": "A numeric expression for which the absolute value is needed.",
@ -170,6 +171,8 @@
"Math.tan|param|x": "An angle in radians",
"Math.trunc": "Returns the number with the decimal part truncated.",
"Math.trunc|param|x": "A numeric expression.",
"NaN": "Constant representing Not-A-Number.",
"Number.isNaN": "Check if a given value is of type Number and it is a NaN.",
"Number.toString": "Returns a string representation of a number.",
"Object.keys": "Return the field names in an object.",
"String": "Combine, split, and search text strings.",

View File

@ -1,5 +1,4 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables></variables>
<block type="pxt-on-start" x="20" y="20">
<statement name="HANDLER">
<block type="device_plot">

View File

@ -1,5 +1,4 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables></variables>
<block type="pins_on_pulsed" x="-157" y="130">
<field name="pin">DigitalPin.P5</field>
<field name="pulse">PulseValue.Low</field>

View File

@ -610,7 +610,7 @@
<block type="device_set_tempo">
<value name="value">
<shadow type="math_number_minmax">
<mutation min="4" max="400" label="Bpm"></mutation>
<mutation min="4" max="400" label="Bpm" precision="0"></mutation>
<field name="SLIDER">12312312</field>
</shadow>
</value>

View File

@ -35,7 +35,7 @@
"typescript": "2.6.1",
"less": "2.7.3",
"semantic-ui-less": "2.2.14",
"react": "16.3.1",
"react": "16.8.3",
"@types/react": "16.0.25",
"@types/react-dom": "16.0.3",
"@types/bluebird": "2.0.33",
@ -45,7 +45,7 @@
"@types/web-bluetooth": "0.0.4"
},
"dependencies": {
"pxt-common-packages": "6.16.5",
"pxt-core": "5.23.17"
"pxt-common-packages": "6.16.7",
"pxt-core": "5.25.17"
}
}