Opened 11 years ago

Closed 11 years ago

#8744 closed defect (fixed)

Loading dojo with a scopeMap

Reported by: klipstein Owned by: James Burke
Priority: high Milestone: 1.3
Component: BuildSystem Version: 1.3.0b1
Keywords: scopeMap Cc:
Blocked By: Blocking:

Description

The setting of a scopeMap within djConfig fails loading dojo base with the following error:

d.mixin is not a function

The test for this functionality currently fails:

http://archive.dojotoolkit.org/nightly/dojotoolkit/dojo/tests/_base/_loader/scope/scope04.html

This also happens, when a build with a scopeMap is done.

I've tracked down that error and it seems, that this additional line is the problem:

http://trac.dojotoolkit.org/browser/dojo/trunk/_base/_loader/bootstrap.js?rev=16407#L151

After removing that line in my build, the scoping did work.

This change was made within:

http://bugs.dojotoolkit.org/changeset/16407/dojo/trunk/_base/_loader/bootstrap.js

and it seems that it just was made to save some hundred bytes.

Change History (2)

comment:1 Changed 11 years ago by dante

Milestone: tbd1.3

comment:2 Changed 11 years ago by James Burke

Resolution: fixed
Status: newclosed

Fixed in [16807]: "Fixes #8744. Thanks klipstein for tracking down the problem with multiversion suppport."

Note: See TracTickets for help on using tickets.