www

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

commit 4b48ff041426d3312925b435d05bd6021e73d3bf
parent 53aae7751c3450751cfaa50c4b8e1f69a3ad3bdf
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 26 Aug 2006 05:33:44 +0000

Stop JS strict warnings from Hash.get() misses


Diffstat:
Mchrome/chromeFiles/content/scholar/xpcom/scholar.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/chromeFiles/content/scholar/xpcom/scholar.js b/chrome/chromeFiles/content/scholar/xpcom/scholar.js @@ -553,7 +553,7 @@ Scholar.Hash = function(){ } Scholar.Hash.prototype.get = function(in_key){ - return this.items[in_key]; + return this.items[in_key] ? this.items[in_key] : false; } Scholar.Hash.prototype.set = function(in_key, in_value){