Titanium JIRA Archive
Alloy (ALOY)

[ALOY-20] Selectors need to be able to handle multiple elements

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-07-19T11:52:06.000+0000
Affected Version/s2012 Sprint 14
Fix Version/s2012 Sprint 14
ComponentsRuntime
Labelsn/a
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-05-15T11:39:52.000+0000
Updated2014-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.

Comments

  1. Tony Lukasavage 2012-05-16

    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
  2. Tony Lukasavage 2012-05-16

    details found here: [https://github.com/appcelerator/ZipTi/commit/a1eccadab1f87b1a551f0a5b80a05d164c59eb1a](https://github.com/appcelerator/ZipTi/commit/a1eccadab1f87b1a551f0a5b80a05d164c59eb1a)

JSON Source