mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -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);
|
var newList = fnToApply(this.workspace_.targetWorkspace);
|
||||||
// Insert the new list of blocks in the middle of the list.
|
// 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
|
// We use splice to insert at index i, and remove a single element
|
||||||
// (the placeholder string). Because the spread operator (...) is not available,
|
// (the placeholder string). Because the spread operator (...) is not
|
||||||
// use apply and concat the array.
|
// available, use apply and concat the array.
|
||||||
xmlList.splice.apply(xmlList, [i, 1].concat(newList));
|
xmlList.splice.apply(xmlList, [i, 1].concat(newList));
|
||||||
xml = xmlList[i];
|
xml = xmlList[i];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue