diff --git a/util.js b/util.js index 3b3d559..e68d12e 100644 --- a/util.js +++ b/util.js @@ -23,6 +23,11 @@ function strformat () { return s; } +function isDefined(x) { + var undefined; + return x !== undefined; +} + function getCurrentOption (option) { return $.cookie (option); }