• Solly Ross's avatar
    Fixed presence detection bug in utils.set_defaults · cfc02e5e
    Solly Ross authored
    Previously, Utils.set_defaults was using `if(conf[keys[i]])`
    to check for the presence of a configuration key.  This would
    fail if `conf[keys[i]]` happened to be false.  Instead, we now
    use `if(keys[i] in conf)`, which simply checks for the presence
    of the key in the conf object.
    cfc02e5e
util.js 20.3 KB