node_modules/echarts/lib/util/format.js
/**
 * open new tab
 * @param link url
 * @param target blank or self
 */
open new tab
@param link url
@param target blank or self
open new tab @param link url @param target blank or self
function windowOpen(link, target) {
  if (target === '_blank' || target === 'blank') {
    var blank = window.open();
    blank.opener = null;
    blank.location.href = link;
  } else {
    window.open(link, target);
  }
}
function windowOpen ( link , target ) { if ( target === '_blank' || target === 'blank' ) { var blank = window . open ( ) ; blank . opener = null ; blank . location . href = link ; } else { window . open ( link , target ) ; } }
open new tab
 @param link url
 @param target blank or self
open new tab @param link url @param target blank or self
/* global window */