if ((!fleegix || typeof fleegix.xhr === 'undefined') && typeof $.ajax === 'undefined') {
throw new Error('Please use the Fleegix.js XHR module, jQuery ajax, Zepto ajax, or define your own transport mechanism for downloading zone files.');
}
Here if additional libraries are not loaded $ is undefined and we try to get property of undefined which causes JavaScript error and we never get to the throw new Error part.
It should be
Here if additional libraries are not loaded
$
is undefined and we try to get property of undefined which causes JavaScript error and we never get to thethrow new Error
part. It should be