A question about Loader baseURL

Kevin Smith khs4473 at gmail.com
Mon Aug 27 07:18:00 PDT 2012


>
> So how do myLoader know what is the URL of the caller?! I mean:
>
> I want:
>
> /a/*.js
> myLoader.load('test.js')  // load /a/test.js
>
> /b/*.js
> myLoader.load('test.js')  // load /b/test.js
>
> But myFetch get the identical args: ('test.js', myLoader.baseURL)
>

This is a point that I've been meaning to bring up as well.  Thanks for
illustrating it.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120827/859a98e7/attachment.html>


More information about the es-discuss mailing list