#14415 closed defect (worksforme)
dijit.Dialog file/class fails to load/parse via Google CDN in Dojo 1.7.0
Reported by: | phusick | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.7.2 |
Component: | Loader | Version: | 1.7.0 |
Keywords: | dialog loader google cdn | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
to reproduce:
- get the example code from Dialog and Tooltips Tutorial: Terms and Conditions.
- change line 12 to load dojo.js version 1.7.0 from Google CDN (instead of v1.6):
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.7.0/dojo/dojo.js" type="text/javascript"></script>
- dojo loader loads class/file dijit.Dialog from Google CDN, but cannot parse it, which ends in "parser.js: 8 Uncaught Error: Could not load class 'dijit.Dialog'"
- to workaround this one can load dijit.Dialog class/file via script tag:
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.7.0/dijit/Dialog.js"></script>
The bug can only be reproduced with Google CDN, all works fine with local copy of Dojo 1.7, both release and SDK.
browser: Firefox 8.0, Chrome 15 os: MS Windows 7 Ultimate
Change History (4)
comment:1 Changed 9 years ago by
Component: | Dijit → Loader |
---|---|
Owner: | set to Rawld Gill |
comment:2 Changed 9 years ago by
Milestone: | → tbd |
---|
comment:3 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
attempted to duplicate with 1.7.1. Seems to work OK.
comment:4 Changed 9 years ago by
Milestone: | tbd → 1.7.2 |
---|---|
Resolution: | wontfix → worksforme |
Yeah, this was probably fixed in 1.7.1. Changing from wontfix to worksforme (semantics!).
Note: See
TracTickets for help on using
tickets.
Dup of other tickets already fixed in 1.7.1?