Opened 14 years ago

Closed 13 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 14 years ago by david

The same problem seems to happen when you ask for dojo.io.browser without first requesting dojo.io.

comment:2 Changed 13 years ago by James Burke

Resolution: duplicate
Status: newclosed

Closing this one in favor of #513, which has info on the possible fix.

Note: See TracTickets for help on using tickets.