Opened 15 years ago
Closed 15 years ago
#242 closed defect (duplicate)
Can't get just browser event easily
Reported by: | david | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BuildTools | Version: | 0.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
You can't just do:
dojo.require("dojo.event.browser");
Because dojo.event
will be satisfied when you ask for dojo.event.browser
so dojo.event
will never get loaded. Switching the order of the provide
and require
in event/browser.js
doesn't seem to fix the problem either. It does work if you do:
dojo.require("dojo.event"); dojo.require("dojo.event.browser");
The only problem being if dojo.event.browser
is requested sometime beforehand.
Change History (2)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closing this one in favor of #513, which has info on the possible fix.
Note: See
TracTickets for help on using
tickets.
The same problem seems to happen when you ask for
dojo.io.browser
without first requestingdojo.io
.