Gandi-IDE / custom-extension

GNU Lesser General Public License v2.1
43 stars 58 forks source link

Update var-and-list.js #259

Open fath11 opened 2 months ago

fath11 commented 2 months ago

Despite all the formatting changes, the only actual change is on line 1126 where I change String(val) to JSON.stringify(val) so objects won't be turned to [object Objects] instead of the actual object in string form.

fath11 commented 2 months ago

The reason for said change is so the block can be used to load arrays that contain objects. One example is: image The only way to transfer that data to a Scratch list is as follow image which can be collapsed to just one block with this change image