chemerisuk / better-dom

Live extension playground
http://chemerisuk.github.io/better-dom/
MIT License
545 stars 35 forks source link

Sometimes collections of element have empty methods #2

Closed Inviz closed 11 years ago

Inviz commented 11 years ago
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

chemerisuk commented 11 years ago

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

chemerisuk commented 11 years ago

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