From 3c45088ac3b2f7ba4a58fe12867180914bee3593 Mon Sep 17 00:00:00 2001 From: c727 Date: Fri, 23 Mar 2018 20:34:10 +0100 Subject: [PATCH] Fix code for custom UI version (#4945) * Fix code for custom UI version if you don't put the code in `{ }` `const`s are global * Update frontend_creating_custom_ui.markdown * Update frontend_creating_custom_ui.markdown * Update frontend_creating_custom_ui.markdown --- .../frontend_creating_custom_ui.markdown | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/source/developers/frontend_creating_custom_ui.markdown b/source/developers/frontend_creating_custom_ui.markdown index d28623e8da1..3012f43e60f 100644 --- a/source/developers/frontend_creating_custom_ui.markdown +++ b/source/developers/frontend_creating_custom_ui.markdown @@ -42,7 +42,22 @@ frontend: `www/custom_ui/state-card-my-custom-light.html`: -```javascript +```html +