docs: function resourceCombo(resdeps, type) {
              var urlLength = 0;
              var idsHash = {};
              var ids = [];
              var url = [];
              if (resdeps.length == 0) {
                  if (type == 'css') {
                      ycombo.replaceCompCss('');
                  } else if (type == 'js') {
                      ycombo.replaceCompJs('');
                  }
              }
              each(resdeps, function(res, i) {
                  if (urlLength + res.id.length < settings.maxUrlLength || true) {
                      urlLength += res.id.length;
                      if (!idsHash[res.id]) {
                          idsHash[res.id] = true;
                          ids.push(res.id);
                      }
                  } else {
                      if (type == 'css') {
                          ycombo.replaceCompCss(genUrl(ids));
                      } else if (type == 'js') {
                          ycombo.replaceCompJs(genUrl(ids));
                      }
                      urlLength = res.id.length;
                      ids = [res.id];
                  }
                  if (i === resdeps.length - 1) {
                      if (type == 'css') {
                          ycombo.replaceCompCss(genUrl(ids));
                      } else if (type == 'js') {
                          ycombo.replaceCompJs(genUrl(ids));
                      }
                  }
              });
          }