Opened 14 years ago
Closed 14 years ago
#3206 closed task (fixed)
Port dojo.lang.shallowCopy to Dojo 0.9
Reported by: | Tom Trenka | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Core | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The shallowCopy method in dojo.lang (0.4) is used fairly often in some other parts of the code base (particularly dojox.gfx); if this could be ported to Dojo Core, that'd be awesome. There's a comment in it asking "why tf is it called shallowCopy?"; suggestions for a better name would be dojo.clone() or dojo.copy().
Change History (2)
comment:1 Changed 14 years ago by
Milestone: | → 1.0 |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
dojo.clone() made it into 0.9
Note: See
TracTickets for help on using
tickets.
See lang.js. There's a dojo.clone() function there already except that it's commented out.