Skip to content

Fails silently in strict mode #8

@sandwichsudo

Description

@sandwichsudo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions