Check for config via NOT #39

merged 1 commit into from Oct 31, 2012
Commits on Oct 30, 2012
  1. @maxrabin

    Check for config via NOT

    maxrabin committed Oct 30, 2012
    Until yesterday, this was `if (config == null)`, which checks for a certain
    falseyness of `config`. This was changed yesterday to `if (config === null)` which
    checks if `config` is, in fact, `null`. The problem is that when calling a function
    without a parameter, then the paramter is `undefined`. So maybe we should check
    for `if (config === undefined)` but I figure its easier and clearer to check
    `if (!config)`