Opened 14 years ago

Closed 13 years ago

Last modified 12 years ago

#422 closed defect (fixed)

dojo.render subobjects return incorrect values/undefined values

Reported by: tdondich@… Owned by: dylan
Priority: high Milestone:
Component: General Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

Running FireFox? on Linux environment.

According to Dojo Manual, dojo.render.ver should contain same value as dojo.version. This is not the case. In my dojo release, it contained the value '5'.

dojo.render.html.ie returns undefined instead of false. dojo.render.os.windows is undefined instead of false. dojo.render.vml.capable is undefined instead of false.

"If" tests using if(dojo.render.html.ie == false) will FAIL when not in a Internet Explorer environment, which is incorrect behavior.

Change History (8)

comment:1 Changed 14 years ago by anonymous

Milestone: 0.2.2release

comment:2 Changed 14 years ago by bill

Milestone: 0.2.2release0.3release

comment:3 Changed 14 years ago by skinner

Milestone: 0.3release0.4

comment:4 Changed 13 years ago by dylan

Owner: changed from anonymous to dylan
Status: newassigned

comment:5 Changed 13 years ago by dylan

The second portion of this bug I'm going to mark won't fix, as we do things like

if(dojo.render.html.ie) {

rather than testing against false.

comment:6 Changed 13 years ago by dylan

Milestone: 0.40.4.1

comment:7 Changed 13 years ago by alex

Resolution: fixed
Status: assignedclosed

in trunk, dojo.render.ver is set to be a reference to dojo.version. Marking fixed.

comment:8 Changed 12 years ago by (none)

Milestone: 0.4.1

Milestone 0.4.1 deleted

Note: See TracTickets for help on using tickets.