Tidy editor code to pass jshint

This commit is contained in:
Nick O'Leary
2014-08-08 00:01:35 +01:00
parent fb2f307a26
commit 972e6fc6b3
16 changed files with 514 additions and 448 deletions

View File

@@ -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() {
}
}
}();
})();