Opened 11 years ago

Last modified 8 years ago

#8446 closed enhancement

Enhance dojo.create(). — at Version 8

Reported by: Eugene Lazutkin Owned by: Eugene Lazutkin
Priority: high Milestone: 1.3
Component: HTML Version: 1.2.3
Keywords: Cc: James Burke, dante
Blocked By: Blocking:

Description (last modified by Eugene Lazutkin)

Enhance dojo.create() with dojo._toDom() functionality. See #7890 for more details.

Change History (8)

comment:1 Changed 11 years ago by Eugene Lazutkin

Status: newassigned

I've noticed a bug in dojo.create() --- the "attrs" argument is declared optional, but there is no code to cover the missing attrs.

comment:2 Changed 11 years ago by Eugene Lazutkin

(In [16378]) Adding dojo._toDom() functionality top dojo.create() with unit tests, !strict, refs #8446.

comment:3 Changed 11 years ago by Eugene Lazutkin

(In [16379]) Adding the handling of missing attrs with a unit test, !strict, refs #8446.

comment:4 Changed 11 years ago by Eugene Lazutkin

The current code can deal with missing attrs, and it can use refNode's document to create elements in the correct document.

comment:5 Changed 11 years ago by Eugene Lazutkin

(In [16380]) Removing unnecessary notes from the inlined documentation, !strict, refs #8446.

comment:6 Changed 11 years ago by Eugene Lazutkin

(In [16381]) More inlined docs changes, !strict, refs #8446.

comment:7 Changed 11 years ago by Eugene Lazutkin

(In [16382]) refNode can be a string too --- making sure to count it in when attrs is missing, !strict, refs #8446.

comment:8 Changed 11 years ago by Eugene Lazutkin

Description: modified (diff)

dojo.create() enhancements are tracked in #8446.

Note: See TracTickets for help on using tickets.