files/js/js_kkDt35RlL0fcvIV_Z-TdwywdT7VVSHKRvNiGkxguiVc.js
/**
 * Check whether the hostname is part of the cross domains or not.
 *
 * @param string hostname
 *   The hostname of the clicked URL.
 * @param array crossDomains
 *   All cross domain hostnames as JS array.
 *
 * @return boolean
 */
Check whether the hostname is part of the cross domains or not.
@param string hostname
The hostname of the clicked URL.
@param array crossDomains
All cross domain hostnames as JS array.

@return boolean
Check whether the hostname is part of the cross domains or not . @param string hostname The hostname of the clicked URL . @param array crossDomains All cross domain hostnames as JS array . @return boolean
function isCrossDomain(hostname, crossDomains) {
  if (!crossDomains) {
    return false;
  }
  else {
    return $.inArray(hostname, crossDomains) > -1 ? true : false;
  }
}
function isCrossDomain ( hostname , crossDomains ) { if ( ! crossDomains ) { return false ; } else { return $ . inArray ( hostname , crossDomains ) > - 1 ? true : false ; } }
Check whether the hostname is part of the cross domains or not.
Check whether the hostname is part of the cross domains or not .
/**
   * jQuery < 1.6.3 bug: $.inArray crushes IE6 and Chrome if second argument is
   * `null` or `undefined`, http://bugs.jquery.com/ticket/10076,
   * https://github.com/jquery/jquery/commit/a839af034db2bd934e4d4fa6758a3fed8de74174
   *
   * @todo: Remove/Refactor in D8
   */