nl_tokens: @private
pl_tokens: 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 <mask> ; } return ! ! ( this . _history && 'pushState' in this . _history ) ; }