Expose user's settings and defaults inline

This improves performance by removing two AJAX calls and a lot of
JavaScript promises.
This commit is contained in:
Francis Lachapelle
2017-06-01 13:46:57 -04:00
parent 1fa056bb25
commit 89bfa0c536
22 changed files with 441 additions and 484 deletions
@@ -0,0 +1,12 @@
<?xml version='1.0' standalone='yes'?>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant">
<script id="UserDefaults" type="text/json">
<var:string value="jsonDefaults" const:escapeHTML="NO"/>
</script>
<script id="UserSettings" type="text/json">
<var:string value="jsonSettings" const:escapeHTML="NO"/>
</script>
</container>