From acdc36c9a1197e4ba4478f0a66d4db8f72e3c06e Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 25 Oct 2010 00:01:10 +0000 Subject: [PATCH] kill ZU.isInt --- chrome/content/zotero/xpcom/utilities.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index f470c27a0..4ee1ea904 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -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 *