[ALOY-20] Selectors need to be able to handle multiple elements
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-19T11:52:06.000+0000 |
Affected Version/s | 2012 Sprint 14 |
Fix Version/s | 2012 Sprint 14 |
Components | Runtime |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2012-05-15T11:39:52.000+0000 |
Updated | 2014-06-22T13:21:22.000+0000 |
Description
The
$Ti
code in runtime.js currently only handles the first returned element from the Sizzle selector engine. We need to iterate through all returned elements and handle them appropriately.
The beginnings of this work can be found in this commit: [https://github.com/appcelerator/ZipTi/commit/ba46d0a4eb7bd73344ec37aee66984f746f05078](https://github.com/appcelerator/ZipTi/commit/ba46d0a4eb7bd73344ec37aee66984f746f05078) More work needs to be done to handle given callbacks and separating single element and mutliple element logic
details found here: [https://github.com/appcelerator/ZipTi/commit/a1eccadab1f87b1a551f0a5b80a05d164c59eb1a](https://github.com/appcelerator/ZipTi/commit/a1eccadab1f87b1a551f0a5b80a05d164c59eb1a)