code: function getDepList(file, added) {
          var depList = [];
          added = added || {};
          file.requires.forEach(function (depId) {
              if (added[depId]) {
                  return false;
              }
              added[depId] = true;
              var dep = ret.ids[depId];
              if (!dep) {
                  var isNotice = true;
                  if (settings.notice && settings.notice.exclude) {
                      isNotice = fis.util.filter(file.subpath, null, settings.notice.exclude);
                  }
                  if (isNotice) {
                      fis.log.notice('can\'t find dep resource [' + depId + ']');
                  }
                  return false;
              }
              depList = depList.concat(getDepList(dep, added));
              depList.push(dep);
          });
          return depList;
      }
docs: 获取同步资源依赖
  @param file
  @param added 已经处理过的同步资源
  @returns {Array}