Add a function to test if a variable is undefined.

Ten commit jest zawarty w:
Sébastien Lucas 2013-06-20 11:11:01 +02:00
rodzic d4af721516
commit 51c9c416d4

Wyświetl plik

@ -23,6 +23,11 @@ function strformat () {
return s;
}
function isDefined(x) {
var undefined;
return x !== undefined;
}
function getCurrentOption (option) {
return $.cookie (option);
}