Module Loader Comments

Kevin Smith khs4473 at gmail.com
Fri Mar 15 11:01:22 PDT 2013


> Anyway, my questions are cleared up (for now).  Can't wait for those wiki
> updates!  ; )
>

Ah - one more comment.

The signatures for `load` and `evalAsync` indicate that they will return
`this`, a reference to the loader.  These functions are prime candidates
for returning futures (e.g. something with a `then` method) in some future
version of ES with standardized promises/futures.  Would it be more
future-safe to leave the return values of these methods `undefined` for the
present?

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130315/4c063e9a/attachment.html>


More information about the es-discuss mailing list