kill ZU.isInt
This commit is contained in:
parent
8d3e25dbfa
commit
acdc36c9a1
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user