Aktualisieren src/jsx/class/students_loader.jsx, src/jsx/class/class_loader.jsx Dateien

This commit is contained in:
Luca Jäntsch
2019-06-06 09:38:53 +02:00
parent eace001c61
commit 1db34b381a
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
export class Classes{
static class_list = [];
static load_Classes(cb){
fetch('/data/class/classes.json')
fetch('data/class/classes.json')
.then(response => response.json())
.then(data => cb(data));
}

View File

@@ -1,6 +1,6 @@
export class Students_loader{
static loadStudents(cl,cb){
fetch('/data/class/'+cl+'/user.json')
fetch('data/class/'+cl+'/user.json')
.then(response => response.json())
.then(data => cb(data));
}