Opened 10 years ago
Closed 10 years ago
#13077 closed defect (invalid)
parser object invalid if first in require list
Reported by: | rott | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | BuildSystem | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
SVN 25190. Ubuntu 10.10, java 1.6, rhino build.
In a build, if I put the parser first in the list of requires, it is an invalid object. This only occurs with a build, not with src. Please see attached test.profile.js, test.html, and screenshot.
The error is "Uncaught TypeError?: Object 1 has no method 'parse'"
If I require anything else before dojo/parser, then the parser object is correctly initialized and callable.
Attachments (2)
Change History (4)
Changed 10 years ago by
Attachment: | test.profile.js added |
---|
Changed 10 years ago by
comment:1 Changed 10 years ago by
Ah! I just re-read http://bugs.dojotoolkit.org/ticket/13017 and realized I still had "script injection" in my test.html file. If I change to put "dojo/test" (my layer) in the require list instead of referencing it by <script> then things work.
Please cancel this ticket as user error.
comment:2 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
test profile