function () {
      // Boosted from Modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
      // The stock browser on Android 2.2 & 2.3 returns positive on history support
      // Unfortunately support is really buggy and there is no clean way to detect
      // these bugs, so we fall back to a user agent sniff :(
      var userAgent = this._window.navigator.userAgent;

      // We only want Android 2, stock browser, and not Chrome which identifies
      // itself as 'Mobile Safari' as well
      if (userAgent.indexOf('Android 2') !== -1 &&
          userAgent.indexOf('Mobile Safari') !== -1 &&
          userAgent.indexOf('Chrome') === -1) {
        return false;
      }

      return !!(this._history && 'pushState' in this._history);
    }
function () {
      
      
      
      
      var userAgent = this._window.navigator.userAgent;

      
      
      if (userAgent.indexOf('Android 2') !== -1 &&
          userAgent.indexOf('Mobile Safari') !== -1 &&
          userAgent.indexOf('Chrome') === -1) {
        return false;
      }

      return !!(this._history && 'pushState' in this._history);
    }
function ( ) { // Boosted from Modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js // The stock browser on Android 2.2 & 2.3 returns positive on history support // Unfortunately support is really buggy and there is no clean way to detect // these bugs, so we fall back to a user agent sniff :( var userAgent = this . _window . navigator . userAgent ; // We only want Android 2, stock browser, and not Chrome which identifies // itself as 'Mobile Safari' as well if ( userAgent . indexOf ( 'Android 2' ) !== - 1 && userAgent . indexOf ( 'Mobile Safari' ) !== - 1 && userAgent . indexOf ( 'Chrome' ) === - 1 ) { return false ; } return ! ! ( this . _history && 'pushState' in this . _history ) ; }
@private

We assume that if the history object has a pushState method, the host should
support HistoryLocation.

@method _getSupportsHistory
@private