git.schokokeks.org
Repositories
Help
Report an Issue
fs-draft.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
579dbe0
Branches
Tags
master
midgard
vorlage
fs-draft.git
source
logic
client
tools.js
advanced
bfadmin-master
commited
579dbe0
at 2016-04-25 20:27:11
tools.js
Blame
History
Raw
"use strict"; function load_file(url, usage) { let request = new XMLHttpRequest(); request.open("GET", url, true); request.send(null); request.onreadystatechange = function () { usage(null, request.responseText); }; } function convert_to_list(structure) { let list = []; for (let index = 0; index < structure.length; index += 1) list.push(structure[index]); return list; }