diff --git a/devNotes/Useful JS Function Documentation.txt b/devNotes/Useful JS Function Documentation.txt index cb4a60928654855131ef41f1e6981afa1cf067f8..3c990ca0ac703885fd07e07c9f31a2b7d280d0d8 100644 --- a/devNotes/Useful JS Function Documentation.txt +++ b/devNotes/Useful JS Function Documentation.txt @@ -346,6 +346,4 @@ UtilJS [script] removeDuplicates() - Takes an array and returns a new array without duplicate entries - HSM() - outputs a value based off of the PC's hacking skill. - - ndefJS() and defJS() - quick JS ports of sugarcube's def and ndef respectively. \ No newline at end of file + HSM() - outputs a value based off of the PC's hacking skill. \ No newline at end of file diff --git a/src/js/utilJS.js b/src/js/utilJS.js index bbeb6a8e0052b4c7e23c097bdeeee3c153f01a19..6df54795fab84a9acd72fef4bd279413caf5cd14 100644 --- a/src/js/utilJS.js +++ b/src/js/utilJS.js @@ -1272,12 +1272,4 @@ window.HSM = function() { else if (V.PC.hacking <= 75) {return 0.85;} else if (V.PC.hacking <= 100) {return 0.80;} else {return 0.75;} -}; - -window.ndefJS = function(input) { - if (input === undefined || input === null) { return true; } else { return false } -}; - -window.defJS = function(input) { - if (input !== undefined) { return true; } else { return false } }; \ No newline at end of file