Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-06-04 17:31:36 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-06-05 12:01:49 +0300
commit3f1b6e2ce903dc53633adb09527b6977bd2e930b (patch)
treeed26b345d56c51ac1679878839111af29285ddc1 /apps/theming/js
parent81f83d3c1f9be926bf1898212e2445aa9c292dc1 (diff)
Move theming js to initial state
A bit more elegant. Plus it will allow us to also write a proper @nextcloud/theming package. To make life easier down the line for all. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/theming/js')
-rw-r--r--apps/theming/js/theming.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/theming/js/theming.js b/apps/theming/js/theming.js
new file mode 100644
index 00000000000..8acffe39a22
--- /dev/null
+++ b/apps/theming/js/theming.js
@@ -0,0 +1 @@
+OCA.Theming = OCP.InitialState.loadState('theming', 'data')