debugging modules

Kevin Smith zenparsing at gmail.com
Tue Jun 24 16:39:24 PDT 2014


>
>
> Firstly note that the promise isn't rejecting, it is resolving correctly.
> That is if I have a module X:
>
> X.js
> throw "this module throws";
>
> Then:
>
> System.import('X').then(function(m) {
>   // this returns correctly, with m defined.
> });
>
>
This needs to reject.  Anything else is crazy-pants.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140624/7068b63a/attachment.html>


More information about the es-discuss mailing list