Opened 3 years ago

Last modified 2 years ago

#18904 assigned defect

dojox/html/_base.js should consume getObject() from lang

Reported by: Claude Guyomard Owned by: dylan
Priority: undecided Milestone: 1.14
Component: Dojox Version: 1.9.9
Keywords: Cc:
Blocked By: Blocking:

Description

Hello,

https://bugs.dojotoolkit.org/changeset/25850/legacy moved methods from dojo/_base/kernel (ex. dojo) to dojo/_base/lang.

In http://svn.dojotoolkit.org/src/tags/release-1.9.0/dojox/html/_base.js, the following can be found :

var html = kernel.getObject("dojox.html", true);

=> kernel.getObject == undefined

Suggestion 1:

Write instead : var html = lang.getObject("dojox.html", true);

See:

Suggestion 2:

Once you replaced 'kernel' by 'lang'. You may wonder whether the dependency to 'dojo/_base/kernel' is still necessary in dojox/html/_base.js

Enjoy your day,

Claude

Change History (2)

comment:1 Changed 3 years ago by dylan

Milestone: tbd1.13
Status: newassigned

comment:2 Changed 2 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.