diff options
author | Patrick Simianer <p@simianer.de> | 2015-11-06 16:10:02 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-11-06 16:10:02 +0100 |
commit | 886337bdf83c33edf2361ffa45239aa5195ca367 (patch) | |
tree | 8c864e8231c78dd9488543af02cca2be25a1935e /js | |
parent | 5184db137d585746e3c8ab933a6ed460fd312458 (diff) |
cleanup
Diffstat (limited to 'js')
-rw-r--r-- | js/common.js | 11 | ||||
-rw-r--r-- | js/debug.js | 3 | ||||
-rw-r--r-- | js/lfpe.js | 7 |
3 files changed, 8 insertions, 13 deletions
diff --git a/js/common.js b/js/common.js index 92dc74b..4e7d3fe 100644 --- a/js/common.js +++ b/js/common.js @@ -1,6 +1,9 @@ -var data, - ui_type; - +/* + * (common) global vars + * + */ +var data, // data (from JSON) + ui_type; // 't' (text) or 'g' (graphical) /* * hacky way to remove class from node @@ -17,7 +20,7 @@ function removeClass(node, className) } /* - * + * toggle display of element (by id) * */ function toggleDisplay(id) diff --git a/js/debug.js b/js/debug.js index d69dd2b..76c7b80 100644 --- a/js/debug.js +++ b/js/debug.js @@ -9,6 +9,3 @@ $().ready(function() }) }) -$("#reset").click(function(){ - -}); @@ -72,7 +72,7 @@ function catch_return(e) } /* - * + * working/not working * */ function working() @@ -103,11 +103,6 @@ function working() pause_button.setAttribute("disabled", "disabled"); target_textarea.setAttribute("disabled", "disabled"); } - -/* - * - * - */ function not_working(fadein=true) { // elements |