load tutorial only once

This commit is contained in:
Delucse
2020-11-27 13:31:03 +01:00
parent 28720edeea
commit 2d29b8d7bd
4 changed files with 18 additions and 20 deletions
+11 -11
View File
@@ -1,11 +1,11 @@
let tutorials = [
require('./tutorial/ErsteSchritte.json'),
require('./tutorial/Schleifen.json'),
require('./tutorial/Wenn-DannBedingungen.json'),
require('./tutorial/VerwendungVonVariablen.json'),
require('./tutorial/SendenVonMesswertenUeberLoRa.json'),
require('./tutorial/AnzeigeVonMesswertenAufDemDisplay.json'),
require('./tutorial/MesswerteAnDieOpenSenseMapSenden.json')
]
module.exports = tutorials;
// let tutorials = [
// require('./tutorial/ErsteSchritte.json'),
// require('./tutorial/Schleifen.json'),
// require('./tutorial/Wenn-DannBedingungen.json'),
// require('./tutorial/VerwendungVonVariablen.json'),
// require('./tutorial/SendenVonMesswertenUeberLoRa.json'),
// require('./tutorial/AnzeigeVonMesswertenAufDemDisplay.json'),
// require('./tutorial/MesswerteAnDieOpenSenseMapSenden.json')
// ]
//
// module.exports = tutorials;