xuijs / xui

A tiny javascript framework for mobile web apps.
http://xuijs.com
788 stars 106 forks source link

xui.attr() called with non-existing attribute should return zero length array #52

Closed i8ramin closed 13 years ago

i8ramin commented 13 years ago

The xui.attr() function returns an array of length 1 with when called on a non-existing attribute. This fixes that problem and checks for the existence of the attribute before adding anything to the returned array

filmaj commented 13 years ago

werd, will merge this in and bump version/tag as soon as I find an airport that doesn't block SSH >:|

filmaj commented 13 years ago

Merged in f870afc69490c146cc84b3339f520d05654947e1