summaryrefslogtreecommitdiffstats
path: root/modules-available/js_moment
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-13 17:31:56 +0200
committerSimon Rettberg2018-04-13 17:31:56 +0200
commit5370b98936418b2b548c023813039b8bf2074a55 (patch)
tree61e24533afa8426086bc4a76a81340a7c8853d5a /modules-available/js_moment
parentDelete old TODO (diff)
downloadslx-admin-5370b98936418b2b548c023813039b8bf2074a55.tar.gz
slx-admin-5370b98936418b2b548c023813039b8bf2074a55.tar.xz
slx-admin-5370b98936418b2b548c023813039b8bf2074a55.zip
[inc/Module] Overhaul dependency loading and handling of js/css
This is supposed to prevent unneeded js/css from being pulled in
Diffstat (limited to 'modules-available/js_moment')
-rw-r--r--modules-available/js_moment/config.json17
1 files changed, 9 insertions, 8 deletions
diff --git a/modules-available/js_moment/config.json b/modules-available/js_moment/config.json
index 5a0c7960..69bb0aa9 100644
--- a/modules-available/js_moment/config.json
+++ b/modules-available/js_moment/config.json
@@ -1,9 +1,10 @@
{
- "dependencies" : [],
- "css": {
- "style.css": true
- },
- "scripts": {
- "clientscript.js": true
- }
-}
+ "dependencies": [],
+ "css": [
+ "style.css"
+ ],
+ "scripts": [
+ "clientscript.js"
+ ],
+ "client-plugin": true
+} \ No newline at end of file