Stop JS strict warnings from Hash.get() misses

This commit is contained in:
Dan Stillman 2006-08-26 05:33:44 +00:00
parent 53aae7751c
commit 4b48ff0414

View File

@ -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){