code: function getDomainsByPath(path) {
    var domain = fis.media().get('project.domain', {}),
      value = [];
    if (typeof domain === 'string') {
      value = domain.split(/\s*,\s*/);
    } else if (fis.util.is(domain, 'Array')) {
      value = domain;
    } else {
      fis.util.map(domain, function(pattern, domain) {
        if ((pattern === 'image' && fis.util.isImageFile(path)) || fis.util.glob(pattern, path)) {
          if (typeof domain === 'string') {
            value = domain.split(/\s*,\s*/);
          } else if (fis.util.is(domain, 'Array')) {
            value = domain;
          } else {
            fis.log.warning('invalid domain [' + domain + '] of [project.domain.' + pattern + ']');
          }
          return true;
        }
      });
    }
    return value;
  }
docs: /*
  获取路径对应下的全部domain
  @param  {String} path 路径
  @return {Array}      符合的全部domain值