summaryrefslogtreecommitdiffstats
path: root/modules-available/bootstrap_switch
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/bootstrap_switch
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/bootstrap_switch')
-rw-r--r--modules-available/bootstrap_switch/config.json13
1 files changed, 7 insertions, 6 deletions
diff --git a/modules-available/bootstrap_switch/config.json b/modules-available/bootstrap_switch/config.json
index de4d37b4..3cf0d162 100644
--- a/modules-available/bootstrap_switch/config.json
+++ b/modules-available/bootstrap_switch/config.json
@@ -1,8 +1,9 @@
{
- "css": {
- "style.css": true
- },
- "scripts": {
- "clientscript.js": true
- }
+ "css": [
+ "style.css"
+ ],
+ "scripts": [
+ "clientscript.js"
+ ],
+ "client-plugin": true
} \ No newline at end of file