mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Tidy editor code to pass jshint
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
**/
|
||||
|
||||
RED.touch = RED.touch||{};
|
||||
RED.touch.radialMenu = function() {
|
||||
RED.touch.radialMenu = (function() {
|
||||
|
||||
|
||||
var touchMenu = null;
|
||||
@@ -60,7 +60,7 @@ RED.touch.radialMenu = function() {
|
||||
});
|
||||
|
||||
var menuOpts = [];
|
||||
function createMenuOpt(x,y,opt) {
|
||||
var createMenuOpt = function(x,y,opt) {
|
||||
opt.el = menu.append("div")
|
||||
.style({
|
||||
position: "absolute",
|
||||
@@ -112,7 +112,7 @@ RED.touch.radialMenu = function() {
|
||||
}
|
||||
|
||||
|
||||
function hide() {
|
||||
var hide = function() {
|
||||
isActive = false;
|
||||
activeOption = null;
|
||||
touchMenu.remove();
|
||||
@@ -182,5 +182,5 @@ RED.touch.radialMenu = function() {
|
||||
}
|
||||
}
|
||||
|
||||
}();
|
||||
})();
|
||||
|
||||
|
Reference in New Issue
Block a user