function () {
      var window = this._window,
          documentMode = window.document.documentMode;

      return ('onhashchange' in window && (documentMode === undefined || documentMode > 7 ));
    }
function () {
      var window = this._window,
          documentMode = window.document.documentMode;

      return ('onhashchange' in window && (documentMode === undefined || documentMode > 7 ));
    }
function ( ) { var window = this . _window , documentMode = window . document . documentMode ; return ( 'onhashchange' in window && ( documentMode === undefined || documentMode > 7 ) ) ; }
@private

IE8 running in IE7 compatibility mode gives false positive, so we must also
check documentMode.

@method _getSupportsHashChange
@private