diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-09-04 15:43:44 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-09-04 15:52:34 -0700 |
commit | ffe3404a2a9b36d69e880baa224375e82e64ae54 (patch) | |
tree | ad3c0ed9351dd16aa0a4458059d0f1f44c8ebb12 /src/App.vue | |
parent | bcf0e1bec2ea2b55def5e4377dc03d4fc6f3b928 (diff) | |
download | homer-ffe3404a2a9b36d69e880baa224375e82e64ae54.tar.gz homer-ffe3404a2a9b36d69e880baa224375e82e64ae54.tar.zst homer-ffe3404a2a9b36d69e880baa224375e82e64ae54.zip |
Simplify service structure
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue index 03760fd..eb132d0 100644 --- a/src/App.vue +++ b/src/App.vue | |||
@@ -161,7 +161,7 @@ export default { | |||
161 | this.services = this.config.services; | 161 | this.services = this.config.services; |
162 | document.title = `${this.config.title} | ${this.config.subtitle}`; | 162 | document.title = `${this.config.title} | ${this.config.subtitle}`; |
163 | if (this.config.stylesheet) { | 163 | if (this.config.stylesheet) { |
164 | let stylesheet = ''; | 164 | let stylesheet = ""; |
165 | for (const file of this.config.stylesheet) { | 165 | for (const file of this.config.stylesheet) { |
166 | stylesheet += `@import "${file}";`; | 166 | stylesheet += `@import "${file}";`; |
167 | } | 167 | } |
@@ -242,8 +242,8 @@ export default { | |||
242 | }, | 242 | }, |
243 | }; | 243 | }; |
244 | }, | 244 | }, |
245 | createStylesheet: function(css) { | 245 | createStylesheet: function (css) { |
246 | let style = document.createElement('style'); | 246 | let style = document.createElement("style"); |
247 | style.appendChild(document.createTextNode(css)); | 247 | style.appendChild(document.createTextNode(css)); |
248 | document.head.appendChild(style); | 248 | document.head.appendChild(style); |
249 | }, | 249 | }, |