kill ZU.isInt

This commit is contained in:
Simon Kornblith 2010-10-25 00:01:10 +00:00
parent 8d3e25dbfa
commit acdc36c9a1

View File

@ -324,21 +324,6 @@ Zotero.Utilities.prototype.levenshtein = function (a, b) {
}
/**
* Test if a string is an integer
*
* @deprecated Use isNaN(parseInt(x))
* @type Boolean
*/
Zotero.Utilities.prototype.isInt = function(x) {
if(parseInt(x) == x) {
return true;
}
return false;
}
/**
* Test if an object is empty
*