www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 95e3bb7a3a37b6f9ed207d418280b0340dd9a5fc
parent f0def44c29e3e3ed1c31cf9c0f964dc59f3bd3fd
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 14 Mar 2009 22:17:23 +0000

Better debugging for Zotero.Utilities.trim() error


Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -84,6 +84,7 @@ Zotero.Utilities.prototype.cleanAuthor = function(author, type, useComma) { */ Zotero.Utilities.prototype.trim = function(/**String*/ s) { if (typeof(s) != "string") { + Zotero.debug(s); throw "trim: argument must be a string"; }