brianleroux / xui

A tiny javascript framework for mobile web apps.
http://github.com/xui/xui
391 stars 159 forks source link

element-type selectors are fucked on BlackBerry #32

Closed filmaj closed 13 years ago

filmaj commented 13 years ago

Selectors like this:

blah a

don't work. BUT! give the anchor tags a class and then select with this:

blah a.somerandomclass

works!

wtf eh? I'll try to tackle this at some point in the distant future.

marcreynolds commented 13 years ago

+1 on this issue... is there some initialization that needs to be done before this works? I noticed that inside the find(c,d) method, there is a conditional checking whether Sizzle is undefined. Does something need to happen with Sizzle before it can be used? Would the Sizzle method work with the above selector?

filmaj commented 13 years ago

There's a build profile in the rakefile that will submodule-in Sizzle for the blackberry build. This may very well be problem with Sizzle on BlackBerries and not with xui, actually...

brianleroux commented 13 years ago

hey guys, if you still see this issue w/ the bb builds (on xuijs.com) let us know at the new repo (http://github.com/xui/xui) and we'll fix asap