Permalink
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…

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

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

    …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
    scottjehl committed Jan 24, 2012
  6. window not w, evt wasn't defined. Thanks @staabm

    scottjehl committed Jan 23, 2012
  7. updated to bulletproof further

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

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

    … 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.
    scottjehl committed Jan 19, 2012
  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…

    …tate, in case it's toggled later
    scottjehl committed Jan 19, 2012
  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…

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

    …eta content back to original value
    scottjehl committed Jan 19, 2012
  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 …

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

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

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

    …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.
    scottjehl committed Jan 17, 2012
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.…

    … This line was outta line
    scottjehl committed Jan 23, 2012
  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