chemerisuk/better-dom

Sometimes collections of element have empty methods

Inviz opened this issue · 2 comments

DOM.find("#groups").findAll(".group-nav").length
// 3
DOM.find("#groups").findAll(".group-nav").hide
// function () {}

show() worked, then hide & show methods were both empty. It worked with each().

Seen on Ti build on ipad. I'll report later if it happens on regular mobile safari

I have no idea for now. Let's check if it will happen on 1.5

OK, I think the issue was fixed. It was related to Titanium browser-specific behavior for Function.prototype.toString. Fix version is 1.5.1