-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Selectmenu: Add classes option #8309
Selectmenu: Add classes option #8309
Conversation
@gabrielschulhof were you wanting a review of this |
cd1e657
to
e7f778d
Compare
@arschmitz I've made a few more changes and I could use a review although I'm fairly certain it's not ready to go yet, but it'll be good to have another set of eyes on it so I have a clear list of what remains to be done. TIA! |
@@ -79,16 +94,24 @@ return $.widget( "mobile.selectmenu", $.mobile.selectmenu, { | |||
} | |||
|
|||
if ( event.type === "vclick" || | |||
event.keyCode && ( event.keyCode === $.mobile.keyCode.ENTER || event.keyCode === $.mobile.keyCode.SPACE ) ) { | |||
event.keyCode && | |||
( event.keyCode === $.mobile.keyCode.ENTER || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use $.ui.keyCode
this is deprecated
Looking good done for now |
$.mobile.widget.backcompat must not be undefined even if $.mobileBackcompat is false, since other widgets unconditionally extend with $.mobile.widget.backcompat and if $.mobile.widget.backcompat is undefined, then they end up doing $.widget( ..., undefined ) which results in _create() being assigned $.noop.
15f9447
to
33a5648
Compare
@arschmitz we have a load order race condition in kitchensink which seems to reliably manifest itself with core 1.9.1 in this PR. Aside from that it should be golden. I'll try to look into it whenever I get a chance. |
@arschmitz nm, using a |
Yaaaay! Tests are now no worse than 1.5-dev! |
👍 |
Awesome! @gabrielschulhof landed this in 1.5-dev. |
No description provided.