src/cal-heatmap.js
function validateSelector(selector, canBeFalse, name) {
			if (((canBeFalse && selector === false) || selector instanceof Element || typeof selector === "string") && selector !== "") {
				return true;
			}
			throw new Error("The " + name + " is not valid");
		}
function validateSelector(selector, canBeFalse, name) {
			if (((canBeFalse && selector === false) || selector instanceof Element || typeof selector === "string") && selector !== "") {
				return true;
			}
			throw new Error("The " + name + " is not valid");
		}
function validateSelector ( selector , canBeFalse , name ) { if ( ( ( canBeFalse && selector === false ) || selector instanceof Element || typeof selector === "string" ) && selector !== "" ) { return true ; } throw new Error ( "The " + name + " is not valid" ) ; }
Validate that a queryString is valid

@param  {Element|string|bool} selector   The queryString to test
@param  {bool}	canBeFalse	Whether false is an accepted and valid value
@param  {string} name		Name of the tested selector
@throws {Error}				If the selector is not valid
@return {bool}				True if the selector is a valid queryString
Validate that a queryString is valid