From abc5b7b67ac9eec3113876398da34fed87ab165b Mon Sep 17 00:00:00 2001 From: githubshrek Date: Wed, 16 Jul 2014 13:40:23 +0200 Subject: [PATCH] Make the example runnable The proposed changes, together with the style sheet suggestion proposed in the previous proposed change (and shown below), means that the example moves from being abstract, and students can directly copy/paste the example and see it work. --- page/events/introduction-to-custom-events.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/page/events/introduction-to-custom-events.md b/page/events/introduction-to-custom-events.md index 7074fa54..eb791d52 100644 --- a/page/events/introduction-to-custom-events.md +++ b/page/events/introduction-to-custom-events.md @@ -78,18 +78,18 @@ Let's make our example a little more interesting. We'll add another room to our ```
-
-
-
-
+
Kitchen light
+
Kitchen switch 1
+
Kitchen switch 1
+
Kitchen clapper switch
-
-
-
-
+
Bedroom light
+
Bedroom switch 1
+
Bedroom switch 2
+
Bedroom clapper switch
-
+
Master switch
``` If there are any lights on in the house, we want the master switch to turn all