Skip to content
Commits on Jan 24, 2012
  1. Merge remote branch 'origin/master'

    scottjehl committed Jan 24, 2012
  2. removed unused function in tests

    scottjehl committed Jan 24, 2012
  3. modified so that the select zoom calls manipulate the locked property…

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

    scottjehl committed Jan 24, 2012
  5. added the locked property, with options to lock and unlock it when ca…

    scottjehl committed Jan 24, 2012
    …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 committed Jan 24, 2012
  7. updated to bulletproof further

    scottjehl committed Jan 24, 2012
  8. updated to use only the devicemotion event, for compatibility and les…

    scottjehl committed Jan 20, 2012
    …s battery battering
  9. This change brings the iOS orientationchange bug workaround up to the…

    scottjehl committed Jan 19, 2012
    … 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 committed Jan 19, 2012
  11. switched up this check so it binds the events regardless of initial s…

    scottjehl committed Jan 19, 2012
    …tate, in case it's toggled later
  12. added files to index php

    scottjehl committed Jan 19, 2012
  13. moved the iosfocusfix logic over to the selectmenu plugin. It's now t…

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

    scottjehl committed Jan 19, 2012
    …eta content back to original value
  15. added unit tests for the zoom plugin

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

    scottjehl committed Jan 19, 2012
    …restoring zoom
  17. fixed up the unit tests so that they only test the plugin's usage of …

    scottjehl committed Jan 19, 2012
    …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 committed Jan 19, 2012
    …le/disable, opting to use the zoom plugin methods instead
  19. added meta viewport tag

    scottjehl committed Jan 19, 2012
  20. fixed a duplicate listing

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

    scottjehl committed Jan 17, 2012
    …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 https://github.com/scottjehl/iOS-Orientationchange-Fix. 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. @Wilto
  2. @Wilto
  3. @gseguin @Wilto
  4. @gseguin @Wilto
  5. @gseguin @Wilto
  6. @gseguin @Wilto
  7. fixed the fixed toolbar tap toggle. Footers weren't moving to bottom.…

    scottjehl committed Jan 23, 2012
    … This line was outta line
  8. z-index no longer required during transitions

    scottjehl committed Jan 23, 2012
  9. @gseguin
  10. @gseguin
  11. @gseguin
  12. @gseguin
  13. @gseguin
  14. @gseguin

    Added jQuery 1.7.1

    gseguin committed Jan 19, 2012
Something went wrong with that request. Please try again.