Opened 9 years ago

Closed 9 years ago

#11586 closed defect (fixed)

[regression] dojo/method's excluded from dijit.Declarations

Reported by: jameyg Owned by: bill
Priority: high Milestone: 1.5.1
Component: Dijit Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

dojo/method's declared inside a dijit.Declaration are not included in the resulting Widget's prototype (and as such cannot be referenced with a dojoAttachEvent)

http://download.dojotoolkit.org/release-1.5.0/dojo-release-1.5.0/dijit/tests/test_Declaration.html demonstrates the error.

This appears to be new in 1.5

Change History (2)

comment:1 Changed 9 years ago by bill

Milestone: tbd1.5.1
Owner: set to bill
Status: newassigned
Summary: dojo/method's excluded from dijit.Declarations[regression] dojo/method's excluded from dijit.Declarations

Hmm, yes I see that test_Declaration.html is failing in 1.5 :-(. I broke this in [21608], the parser isn't obeying the _noScript tag.

comment:2 Changed 9 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [22735]) Fix parser to obey _noScript flag in prototype again, so that dijit.Declaration works. Also adding unit tests for dijit.Declaration. Fixes #11586 !strict.

Note: See TracTickets for help on using tickets.