Stop JS strict warnings from Hash.get() misses
This commit is contained in:
parent
53aae7751c
commit
4b48ff0414
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue
Block a user