You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the Wikipedia PhoneGap app we need to be able to reinitialize options on the ULS.
In this case we need to update both the 'languages' object with a different set of languages, and the 'onSelect' callback.
Currently I'm attempting to reuse the existing ULS but simply reinit with $.uls().
If this isn't meant to be supported, then I'll need to be able to initialize and then discard the ULS, so I can create a new one safely... is that the right thing to do here?
The text was updated successfully, but these errors were encountered:
One problem with creating a new fresh ULS is that the old <div class="uls-menu"> stays around... I can remove it manually perhaps, but have to know about it so it doesn't just eat up more memory in the DOM.
For the Wikipedia PhoneGap app we need to be able to reinitialize options on the ULS.
In this case we need to update both the 'languages' object with a different set of languages, and the 'onSelect' callback.
Currently I'm attempting to reuse the existing ULS but simply reinit with $.uls().
If this isn't meant to be supported, then I'll need to be able to initialize and then discard the ULS, so I can create a new one safely... is that the right thing to do here?
The text was updated successfully, but these errors were encountered: