code: function (items) {
              var out = '<ul>';
  
              Y.each(items, function (i, k) {
                  out += '<li>';
                  if (Y.Lang.isObject(i)) {
                      if (!i.path) {
                          out += k + '/' + print(i);
                      } else {
                          out += '<a href="../files/' + i.name + '.html">' + k + '</a>';
                      }
                  }
                  out += '</li>';
              });
  
              out += '</ul>';
              return out;
          }
docs: /*jshint onevar:false