th a '/' character") : n.httpCreate(t)
   }, s.onclick = function (e) {
      var t = d.value.trim();
      "" === t ? alert("A folder name must be given") : (t.endsWith("/") || (t += "/"), n.httpCreate(t))
   }, r.onclick = function (e) {
      t.save()
   }, m.onclick = function (e) {
      t.discard()
   }, e.onclick = function (e) {
      t.showShortcuts()
   }
}

function createTree(e, a) {
   var n = $("preview"),
      t = newEm("div");

   function d(e) {
      $("pathInput").value = e, $("editor").