Hi,
I must be doing something wrong because this just seems to fail silently:
loader.load('../js-test/*.js', {strict:true}, function (exports, filename) {
console.log('Loaded ' + filename);
}).then(function () {
// Do Something Nice
console.log('Done something');
});
With strict:true 'Done something' is not logged, so it must not be finding the files, but how do I show the error please? .catch() on the end isn't a function, so must not be returning the promise.
Hi, I must be doing something wrong because this just seems to fail silently:
With strict:true 'Done something' is not logged, so it must not be finding the files, but how do I show the error please? .catch() on the end isn't a function, so must not be returning the promise.