jed/authom — pull request #57 by DavidZey (2013-12-19 21:05:44+00:00)
Title: fixing obvious sanity check - doh

Missed an obvious sanity check. Sorry about that. These are the scenarios I have tested now.

var options; //true
//var options = null; // true
//var options = {}; // true
//var options = {rejectUnauthorized: true}; // true
//var options = {rejectUnauthorized: false}; // false
this.rejectUnauthorizedRequests = !(options && options.rejectUnauthorized == false);
console.log(this.rejectUnauthorizedRequests);