kopia lustrzana https://github.com/backface/turtlestitch
adjusted block-search-bar for variadic infix reporters
rodzic
9d628d823d
commit
a7741a7275
|
@ -14,6 +14,7 @@
|
||||||
* blocks: adjusted restoring inputs for relabelling to / from variadic infix reporters
|
* blocks: adjusted restoring inputs for relabelling to / from variadic infix reporters
|
||||||
* blocks: refactored adding and removing inputs in variadic slots
|
* blocks: refactored adding and removing inputs in variadic slots
|
||||||
* blocks: adjusted inserting / deleting single inputs in variadic infix slots
|
* blocks: adjusted inserting / deleting single inputs in variadic infix slots
|
||||||
|
* objects: adjusted block-search-bar for variadic infix reporters
|
||||||
|
|
||||||
### 2022-02-28
|
### 2022-02-28
|
||||||
* blocks, objects, threads, store: made addition reporter variadic
|
* blocks, objects, threads, store: made addition reporter variadic
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<script src="src/widgets.js?version=2021-17-09"></script>
|
<script src="src/widgets.js?version=2021-17-09"></script>
|
||||||
<script src="src/blocks.js?version=2022-03-01"></script>
|
<script src="src/blocks.js?version=2022-03-01"></script>
|
||||||
<script src="src/threads.js?version=2022-02-28"></script>
|
<script src="src/threads.js?version=2022-02-28"></script>
|
||||||
<script src="src/objects.js?version=2022-02-28"></script>
|
<script src="src/objects.js?version=2022-03-01"></script>
|
||||||
<script src="src/scenes.js?version=2021-11-24"></script>
|
<script src="src/scenes.js?version=2021-11-24"></script>
|
||||||
<script src="src/gui.js?version=2022-02-27"></script>
|
<script src="src/gui.js?version=2022-02-27"></script>
|
||||||
<script src="src/paint.js?version=2021-07-05"></script>
|
<script src="src/paint.js?version=2021-07-05"></script>
|
||||||
|
|
|
@ -87,7 +87,7 @@ BlockVisibilityDialogMorph, CostumeIconMorph, SoundIconMorph*/
|
||||||
|
|
||||||
/*jshint esversion: 6*/
|
/*jshint esversion: 6*/
|
||||||
|
|
||||||
modules.objects = '2022-February-28';
|
modules.objects = '2022-March-01';
|
||||||
|
|
||||||
var SpriteMorph;
|
var SpriteMorph;
|
||||||
var StageMorph;
|
var StageMorph;
|
||||||
|
@ -1099,16 +1099,19 @@ SpriteMorph.prototype.initBlocks = function () {
|
||||||
spec: '%rp %ringparms',
|
spec: '%rp %ringparms',
|
||||||
alias: 'predicate ring lambda'
|
alias: 'predicate ring lambda'
|
||||||
},
|
},
|
||||||
|
/* +++
|
||||||
reportSum: {
|
reportSum: {
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: '%n + %n'
|
spec: '%n + %n'
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
reportVariadicSum: { // +++ under construction
|
reportVariadicSum: { // +++ under construction
|
||||||
// +++ dev: true,
|
// +++ dev: true,
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: '%sum'
|
spec: '%sum',
|
||||||
|
alias: '+'
|
||||||
},
|
},
|
||||||
reportDifference: {
|
reportDifference: {
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
|
@ -1116,17 +1119,20 @@ SpriteMorph.prototype.initBlocks = function () {
|
||||||
spec: '%n \u2212 %n',
|
spec: '%n \u2212 %n',
|
||||||
alias: '-'
|
alias: '-'
|
||||||
},
|
},
|
||||||
|
/* +++
|
||||||
reportProduct: {
|
reportProduct: {
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: '%n \u00D7 %n',
|
spec: '%n \u00D7 %n',
|
||||||
alias: '*'
|
alias: '*'
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
reportVariadicProduct: { // +++ under construction
|
reportVariadicProduct: { // +++ under construction
|
||||||
// +++ dev: true,
|
// +++ dev: true,
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: '%product'
|
spec: '%product',
|
||||||
|
alias: '*'
|
||||||
},
|
},
|
||||||
reportQuotient: {
|
reportQuotient: {
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
|
@ -1159,25 +1165,31 @@ SpriteMorph.prototype.initBlocks = function () {
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: 'atan2 %n ÷ %n'
|
spec: 'atan2 %n ÷ %n'
|
||||||
},
|
},
|
||||||
|
/* +++
|
||||||
reportMin: {
|
reportMin: {
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: '%n min %n'
|
spec: '%n min %n'
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
reportVariadicMin: { // +++
|
reportVariadicMin: { // +++
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: '%min'
|
spec: '%min',
|
||||||
|
alias: 'min'
|
||||||
},
|
},
|
||||||
|
/* +++
|
||||||
reportMax: {
|
reportMax: {
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: '%n max %n'
|
spec: '%n max %n'
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
reportVariadicMax: { // +++
|
reportVariadicMax: { // +++
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
category: 'operators',
|
category: 'operators',
|
||||||
spec: '%max'
|
spec: '%max',
|
||||||
|
alias: 'max'
|
||||||
},
|
},
|
||||||
reportRandom: {
|
reportRandom: {
|
||||||
type: 'reporter',
|
type: 'reporter',
|
||||||
|
|
Ładowanie…
Reference in New Issue