#6096 closed defect (duplicate)
Could not load 'dojo.data.ItemFileReadStore' ; last tried ./data/ItemFilereadStore.js
Reported by: | guest | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 1.0 |
Keywords: | could not load | Cc: | [email protected]…, [email protected]… |
Blocked By: | Blocking: |
Description
Browser Type: IE Browser Version: 7.0 OS: Cent OS OS Version: 4.5 DOJO release: 1.0.2
In my code I am using dojo.require. For every dojo.require(modulename), I get the following error:
Could not load <modulename>; last tried modulename.js
For example, I am using dojo.require('dojo.data.ItemFileReadStore?'); So, I am getting: Could not load 'dojo.data.ItemFileReadStore?' ; last tried ./data/ItemFilereadStore.js.
I found the following line in dojo.js.uncompressed.js (line:375) throws the exception: missing ';'.
var value = deval?(contents+" @ sourceURL="+uri);
I just removed the comment part " @ sourceURL="+uri); to change to var value = deval?(contents);
After the change, it works fine. Firefox does not complain this eorr.
Ticket #5901 refers this same problem but I see that the ticket is closed with no resolution mentioned.
Change History (2)
comment:1 Changed 13 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
we'll need a reproducible case to solve this. please attach to and reopen 5901 if you have one. thanks!