[dojo-contributors] Issue with parser tests or AMD loader?
kitson.kelly at asseverate.co.uk
Fri Jan 20 04:50:47 EST 2012
Ok, I have put the patch with the ticket:
http://bugs.dojotoolkit.org/ticket/13778. Still curious if it is
intentional with relative modules that the .js extension is not used.
On 20 January 2012 09:39, Kitson Kelly <kitson.kelly at asseverate.co.uk>wrote:
> Oh, you are right, but for some reason it is working on my local checkout.
> I think it is working on Bill's too... But I looked on my local machine
> and I see that my local HTTP server is doing a GET of AMDWidget (without
> the .js) and it is returning the file, but I did the following in the Unit
> I didn't realise require to a relative path doesn't auto append the .js
> when fetching a resource, so depending on how the webserver is configured,
> it sometimes finds the resource and sometimes doesn't. Does anyone know if
> that is intentional by the loader? I guess what I should do is not use a
> relative path. I will make the change and add it to the ticket.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dojo-contributors