Opened 13 years ago
Closed 12 years ago
#10036 closed enhancement (fixed)
[patch][cla] NodeList.at() allow negative indexes
Reported by: | Les | Owned by: | dante |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | General | Version: | 1.3.2 |
Keywords: | dojo.NodeList-traverse | Cc: | |
Blocked By: | Blocking: |
Description
NodeList?.at() is very flexible, e.g. it allows listing indexes like this:
dojo.query('form').children().at(2,1,0,0);
It would be nice to allow negative indexes, e.g.
dojo.query('form').children().at(0,-1); dojo.query('form').children(0,-1); // <- this also would be nice dojo.query('form').children().filter(0,-1);
Attachments (1)
Change History (5)
comment:1 Changed 13 years ago by
Milestone: | tbd → future |
---|
comment:2 Changed 13 years ago by
Milestone: | future → 1.5 |
---|---|
Owner: | changed from anonymous to dante |
Status: | new → assigned |
patch is attached to #10468 ... sorry I didn't notice this ticket.
Changed 13 years ago by
Attachment: | NodeList.patch added |
---|
comment:3 Changed 13 years ago by
Summary: | NodeList.at() allow negative indexes → [patch][cla] NodeList.at() allow negative indexes |
---|
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Pushing all enhancements to future, since we are close to locking down 1.4 beta.