kill ZU.isInt
This commit is contained in:
parent
8d3e25dbfa
commit
acdc36c9a1
1 changed files with 0 additions and 15 deletions
|
@ -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
|
* Test if an object is empty
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue