Opened 12 years ago

Closed 12 years ago

#4688 closed defect (fixed)

parser choking on odd use of dojo.mixin(dojo.clone(object))

Reported by: dante Owned by: Neil Roberts
Priority: high Milestone: 1.0
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

line 19 of dijit/form/Textarea.js:

 attributeMap: dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),
                {style:"styleNode", 'class':"styleNode"}),

parser treats the dojo.clone() call as an object, and seems to be recursing into itself giving style and class attribs to a weird object. You understand as per our discussions.

Change History (1)

comment:1 Changed 12 years ago by Neil Roberts

Resolution: fixed
Status: newclosed

(In [10778]) Fixes #4688. Don't mix into results of function calls

Note: See TracTickets for help on using tickets.