Opened 11 years ago

Closed 11 years ago

#13121 closed defect (fixed)

DeferredList has unnecessary dependencies

Reported by: ykami Owned by:
Priority: high Milestone: 1.7
Component: General Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:


DeferredList has dependency on dojo/main.js and thus it pulls many base modules that are not related to DeferredList.

The entire is written as "base-less" modules to be able to minimize dependent modules. But it looks all this effort went in vain because DeferredList pulls everything.

So, this deps list

define(["./main"], function(dojo) {

should be

define(["./_base/kernel", "./_base/Deferred", "./_base/array"], function(dojo) {

The fixed code passes the DeferredList doh test case.

Change History (1)

comment:1 Changed 11 years ago by Dmachi

Resolution: fixed
Status: newclosed

(In [25289]) update define() for deferredlist to baseless. Fixes #13121

Note: See TracTickets for help on using tickets.