Opened 9 years ago

Last modified 9 years ago

#14406 closed defect

[regression] dojo.eval no longer uses dojo.global — at Initial Version

Reported by: Adam Peller Owned by: Rawld Gill
Priority: blocker Milestone: 1.7.2
Component: Core Version: 1.7.0
Keywords: Cc: Javier Pedemonte, ben hockey, James Burke
Blocked By: Blocking:

Description

Prior to Dojo 1.7, dojo.eval was defined as

                return d.global.eval ? d.global.eval(scriptFragment) : eval(scriptFragment);    // Object

Currently, dojo.eval calls require.eval which does not go through the dojo.global property. evals occur in the base window, which is a regression if called from within a dojo.withGlobal block.

Change History (0)

Note: See TracTickets for help on using tickets.