Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 24, 2012
  1. Merge remote branch 'origin/master'

    scottjehl authored
  2. removed unused function in tests

    scottjehl authored
  3. modified so that the select zoom calls manipulate the locked property…

    scottjehl authored
    …, to ensure other zoom plugins don't mess with it during focus
  4. namespaced the events.

    scottjehl authored
  5. added the locked property, with options to lock and unlock it when ca…

    scottjehl authored
    …lling disable or enable, respectively. This allows a plugin to take control and ensure zoom isn't messed with while it's carrying out a zoom-specific task
  6. window not w, evt wasn't defined. Thanks @staabm

    scottjehl authored
  7. updated to bulletproof further

    scottjehl authored
  8. updated to use only the devicemotion event, for compatibility and les…

    scottjehl authored
    …s battery battering
  9. This change brings the iOS orientationchange bug workaround up to the…

    scottjehl authored
    … latest code from that external project, with an experimental attempt at iOS4.3 support on the 3GS using the devicemotion event, which may be a bad idea to use unthrottled - not sure yet. This code needs to be tested on a device with iOS5, and I imagine the check for deviceorientation will also need a check for the value of evt.gamma. At that point, we may decide to only support iOS5 for this workaround, and the code can bind only to deviceorientation and be more concise.
  10. added unit tests for prevent focus zoom option

    scottjehl authored
  11. switched up this check so it binds the events regardless of initial s…

    scottjehl authored
    …tate, in case it's toggled later
  12. added files to index php

    scottjehl authored
  13. moved the iosfocusfix logic over to the selectmenu plugin. It's now t…

    scottjehl authored
    …oggled via a new option: preventFocusZoom (Default is true).
  14. added a restore method, similar to a widget's destroy. Restores the m…

    scottjehl authored
    …eta content back to original value
  15. added unit tests for the zoom plugin

    scottjehl authored
  16. use maximum scale instead of user-scaling, as it's more reliable for …

    scottjehl authored
    …restoring zoom
  17. fixed up the unit tests so that they only test the plugin's usage of …

    scottjehl authored
    …the zoom methods, not the result of whether those methods are working
  18. added zoom dependency and removed internal handling of page zoom enab…

    scottjehl authored
    …le/disable, opting to use the zoom plugin methods instead
  19. added meta viewport tag

    scottjehl authored
  20. fixed a duplicate listing

    scottjehl authored
  21. A new utility: $.mobile.zoom, which as 3 members: enabled [bool], dis…

    scottjehl authored
    …able [function], and enable [function].
    This simple utility is used to disable user scaling in devices like iOS. The disable() method disables user-scaling. The enable() method enables user-scaling. The enabled property keeps track of state.
    Two other utilites are included here as well.
    First, there's zoom.iosfocusfix.js, which disables zoom as a select or input element is focused, preventing iOS from zooming into that element and cropping the viewport. Zoom is restored just after the focus event fires (a half second timeout).
    Then there's zoom.iosorientationfix.js, which is intended to fix the iOS orientationchange zoom bug, following the approach from this project This may not  be working yet. Needs testing, and it may require that we change the values of the meta content to use maximum-scale instead of user-scalable.
    Lastly, fixedtoolbar, once it lands, should use this utility to disable/enable zoom, rather than the one that's currently included in its own source.
Commits on Jan 23, 2012
  1. Mat Marquis
  2. Mat Marquis
  3. Ghislain Seguin Mat Marquis

    Changed input file for css structure to static string:…

    gseguin authored Wilto committed
  4. Ghislain Seguin Mat Marquis
  5. Ghislain Seguin Mat Marquis
  6. Ghislain Seguin Mat Marquis

    Created which contains the structure css …

    gseguin authored Wilto committed
  7. fixed the fixed toolbar tap toggle. Footers weren't moving to bottom.…

    scottjehl authored
    … This line was outta line
  8. z-index no longer required during transitions

    scottjehl authored
  9. Ghislain Seguin
  10. Ghislain Seguin
  11. Ghislain Seguin
  12. Ghislain Seguin
  13. Ghislain Seguin
  14. Ghislain Seguin

    Added jQuery 1.7.1

    gseguin authored
Something went wrong with that request. Please try again.