mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue