// Foundation JavaScript // Documentation can be found at: http://foundation.zurb.com/docs $(document).foundation(); var io = new RocketIO().connect(); function filelist_expand_dir(entryElem, container) { $.getJSON("/api/lsdir/" + entryElem.dataset.path, function(jsonData, status, jqxhr) { container.empty() for (var i = 0; i < jsonData.length; i++) { var entry = jsonData[i]; var elem = $('
  • ', {class: "js-filelist-" + entry.type}); var child_ul = $('