Module Loader Comments

David Herman dherman at mozilla.com
Fri Mar 15 15:11:57 PDT 2013


That sounds reasonable to me.

Dave

On Mar 15, 2013, at 11:01 AM, Kevin Smith <khs4473 at gmail.com> wrote:

> 
> 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 }
> 
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss



More information about the es-discuss mailing list