A question about Loader baseURL

Shijun He hax.sfo at gmail.com
Tue Aug 28 05:33:16 PDT 2012


> For load('a/a.js') in my.js, myFetch is invoked with:
> relURL='a/a.js'
> baseURL = System.baseURL = '/path/my.js'
>
> For import x from 'a/a.js', myFetch is also invoked with:
> relURL='a/a.js'
> baseURL = System.baseURL = '/path/my.js'
>

typo, both System.baseURL should read as myLoader.baserURL

> How myFetch can resolve identical envokes to different resouce?
>


More information about the es-discuss mailing list