Tutorial angefangen
This commit is contained in:
@@ -16,14 +16,16 @@ import "./lib/pwa-assets"
|
||||
import "./lib/pwa-code-management"
|
||||
import "./lib/pwa-user-management"
|
||||
|
||||
import {SynchronizeSite} from "../module/Application/pwa/js/site/SynchronizeSite";
|
||||
import {SettingsManager, SettingsSite} from "./lib/pwa-core";
|
||||
applyPolyfills();
|
||||
|
||||
import {SoundManager} from "./lib/pwa-assets";
|
||||
import {MenuSite} from "../module/Application/pwa/js/site/MenuSite";
|
||||
import {WordRotatorSettingFragment} from "../module/Application/pwa/js/Fragment/WordRotatorSettingFragment";
|
||||
|
||||
applyPolyfills();
|
||||
|
||||
|
||||
import './settings'
|
||||
import {SoundManager} from "./lib/pwa-assets";
|
||||
|
||||
ThemeManager.addTheme(new Theme('red', ''));
|
||||
ThemeManager.addTheme(new Theme("blue", "blue"));
|
||||
@@ -63,7 +65,7 @@ InitPromise.resolve(app).then(function(){
|
||||
let soundManager = SoundManager.getInstance();
|
||||
soundManager.play(SoundManager.CHANNELS.MUSIC, {audio: "sound/brightAndBeautifull__.mp3", loop: true, volume: 0.6, muted: !settingsManager.getSetting("play-music", true)});
|
||||
|
||||
app.start(SynchronizeSite);
|
||||
app.start(MenuSite);
|
||||
Translator.setLanguage("de");
|
||||
});
|
||||
|
||||
@@ -8,7 +8,7 @@ if (window.location.pathname.endsWith("publicTest/"))
|
||||
}
|
||||
|
||||
SystemSettings.setBasePath(basePath);
|
||||
Translator.supportedLanguages = ["de", "en"];
|
||||
Translator.supportedLanguages = ["de"];
|
||||
Translator.markTranslations = false;
|
||||
|
||||
const TRACKING_ID = '';
|
||||
|
||||
Reference in New Issue
Block a user