mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
code linting and remove excessive new lines
This commit is contained in:
parent
21d3261eec
commit
7216c6d62a
@ -15,10 +15,6 @@ RED.contextMenu = (function() {
|
|||||||
// ],
|
// ],
|
||||||
// width: 200,
|
// width: 200,
|
||||||
// })
|
// })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function disposeMenu() {
|
function disposeMenu() {
|
||||||
@ -111,22 +107,7 @@ RED.contextMenu = (function() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
// menuItems.push(
|
|
||||||
// {
|
|
||||||
// label: (isSingleLink || isMultipleLinks)?'Insert into wire...':'Add node...',
|
|
||||||
// onselect: function() {
|
|
||||||
// RED.view.showQuickAddDialog({
|
|
||||||
// position: [ options.x - offset.left, options.y - offset.top ],
|
|
||||||
// touchTrigger: true,
|
|
||||||
// splice: isSingleLink?selection.links[0]:undefined,
|
|
||||||
// spliceMultiple: isMultipleLinks
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// )
|
|
||||||
// if (hasLinks && !hasSelection) {
|
|
||||||
// menuItems.push({ onselect: 'core:split-wires-with-junctions', label: 'Insert junction'})
|
|
||||||
// }
|
|
||||||
menuItems.push(
|
menuItems.push(
|
||||||
null,
|
null,
|
||||||
{ onselect: 'core:undo', disabled: RED.history.list().length === 0 },
|
{ onselect: 'core:undo', disabled: RED.history.list().length === 0 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user