git.schokokeks.org
Repositories
Help
Report an Issue
fs-draft.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
a2ab2b8
Branches
Tags
master
midgard
vorlage
fs-draft.git
source
logic
tools.js
weitere anpassungen
Christian Fraß
commited
a2ab2b8
at 2018-08-22 10:21:45
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; }