Snap
Snap copied to clipboard
a visual programming language inspired by Scratch
reported by Paul, confirmed by Jens
(no hurries!)
and also a little index tweaking
This updates IDE_Morph.prototype.broadcast with the ability to take a payload to be passed as data alongside the message.
## runtime implicit parameters * `implicitParamCount` is now unused * can remove part of block * work according to [these rules](https://forum.snap.berkeley.edu/t/why-are-ring-parameters-weird/11553#post_3) but they are not same as [snap's weird behaviour](https://forum.snap.berkeley.edu/t/why-are-ring-parameters-weird/11553#post_1)...
`window.open` with `data:` URIs doesn't work in modern browsers: https://www.bleepingcomputer.com/news/security/firefox-will-block-navigational-data-uris-as-part-of-an-anti-phishing-feature/ made `pic...` popup look like this:
 I did this by importing 'data.csv', deleting it, and then importing 'data (6).csv' (file name created by Windows). If I only import 'data (6).csv' all is fine.
I think it would be useful in an extension to be able to toggle settings in the settings menu.
from the forums: https://forum.snap.berkeley.edu/t/calling-this-script-breaks-broadcast-blocks/12027
This **does not** filter hidden blocks, nor hat blocks. This makes it much easier than `my(blocks)` to build extensions that interactively change the palette.