Opened 8 years ago

Closed 8 years ago

#17584 closed defect (invalid)

dojox.encoding.digests.SHA1 object is not declared after require

Reported by: [email protected] Owned by:
Priority: undecided Milestone: tbd
Component: General Version: 1.9.1
Keywords: Cc:
Blocked By: Blocking:


After require dojox/encoding/digests/SHA1, inside the function the object is working and usable. However, the global dojox.encoding.digests.SHA1 is not set up properly.

Change History (1)

comment:1 Changed 8 years ago by bill

Resolution: invalid
Status: newclosed

That's how it's supposed to work. One of the main principles of AMD is to not create global variables.

Note: See TracTickets for help on using tickets.