Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13324 closed defect (duplicate)

dojox/fx/ext-dojo/complex.js

Reported by: bluk Owned by:
Priority: high Milestone: tbd
Component: fx Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

In beta3 of Dojo 1.7, it seems that the dojox/fx/ext-dojo/complex.js should require "dojo/_base/kernel" instead of "dojo/_base/lang".

Otherwise, I get an error like:

dojo.getObject is not a function
dojo.getObject("fx.ext-dojo.complex", true, dojox);

in Firebug on Firefox 4 (also shows up in Chrome silently).

I found this by requiring dojox/css3/fx which has a dependency on dojox/fx/ext-dojo/complex.js.

Changing:

define(["dojo/_base/lang", "dojo/_base/declare", "dojo/_base/connect", "dojo/_base/Color", "dojo/_base/fx"], function(dojo){

to:

define(["dojo/_base/kernel", "dojo/_base/declare", "dojo/_base/connect", "dojo/_base/Color", "dojo/_base/fx"], function(dojo){

seems to fix the issue.

Marked against b1 even though it should be 1.7.0b3.

Change History (2)

comment:1 Changed 8 years ago by bill

Component: Generalfx
Resolution: duplicate
Status: newclosed

Right, there are a bunch of broken modules, all listed in #13208.

comment:2 Changed 8 years ago by ben hockey

i actually had already fixed this one in r25616

Note: See TracTickets for help on using tickets.