src/myams/resources/js/ext/flot/jquery.flot.touchNavigate.js
changeset 26 f695c11dcd2d
parent 0 f05d7aea098a
equal deleted inserted replaced
25:41732eb0701a 26:f695c11dcd2d
    33             navigationState = {
    33             navigationState = {
    34                 prevTouchedAxis: 'none',
    34                 prevTouchedAxis: 'none',
    35                 currentTouchedAxis: 'none',
    35                 currentTouchedAxis: 'none',
    36                 touchedAxis: null,
    36                 touchedAxis: null,
    37                 navigationConstraint: 'unconstrained',
    37                 navigationConstraint: 'unconstrained',
    38                 initialState: null,
    38                 initialState: null
    39             },
    39             },
    40             useManualPan = options.pan.interactive && options.pan.touchMode === 'manual',
    40             useManualPan = options.pan.interactive && options.pan.touchMode === 'manual',
    41             smartPanLock = options.pan.touchMode === 'smartLock',
    41             smartPanLock = options.pan.touchMode === 'smartLock',
    42             useSmartPan = options.pan.interactive && (smartPanLock || options.pan.touchMode === 'smart'),
    42             useSmartPan = options.pan.interactive && (smartPanLock || options.pan.touchMode === 'smart'),
    43             pan, pinch, doubleTap;
    43             pan, pinch, doubleTap;