mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-07-27 22:29:07 -04:00
Fix comment line wrapping
This commit is contained in:
parent
e4581ad945
commit
68e7f5ee31
1 changed files with 2 additions and 2 deletions
|
@ -456,8 +456,8 @@ Blockly.Flyout.prototype.show = function(xmlList) {
|
|||
var newList = fnToApply(this.workspace_.targetWorkspace);
|
||||
// Insert the new list of blocks in the middle of the list.
|
||||
// We use splice to insert at index i, and remove a single element
|
||||
// (the placeholder string). Because the spread operator (...) is not available,
|
||||
// use apply and concat the array.
|
||||
// (the placeholder string). Because the spread operator (...) is not
|
||||
// available, use apply and concat the array.
|
||||
xmlList.splice.apply(xmlList, [i, 1].concat(newList));
|
||||
xml = xmlList[i];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue