summaryrefslogtreecommitdiffstats
path: root/modules-available/js_vis
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_vis
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_vis')
-rw-r--r--modules-available/js_vis/config.json19
1 files changed, 11 insertions, 8 deletions
diff --git a/modules-available/js_vis/config.json b/modules-available/js_vis/config.json
index 3b027d31..4c870a22 100644
--- a/modules-available/js_vis/config.json
+++ b/modules-available/js_vis/config.json
@@ -1,9 +1,12 @@
{
- "dependencies" : ["js_moment"],
- "css": {
- "style.css": true
- },
- "scripts": {
- "clientscript.js": true
- }
-}
+ "dependencies": [
+ "js_moment"
+ ],
+ "css": [
+ "style.css"
+ ],
+ "scripts": [
+ "clientscript.js"
+ ],
+ "client-plugin": true
+} \ No newline at end of file