Skip to content

Instantly share code, notes, and snippets.

View webOS101's full-sized avatar

Roy Sutton webOS101

  • LG Silicon Valley Lab
View GitHub Profile
@webOS101
webOS101 / fiddle.html
Created November 7, 2012 18:46
Sample fiddle
<script>
new Car().renderInto(document.body);
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:48
First Light
<script>
new Light().renderInto(document.body);
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:57
Improved Light
<script>
new Light({color: "green"}).renderInto(document.body);
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:57
Dynamic Light
<script>
var light = new Light({color: "green"}).renderInto(document.body);
light.setColor("blue");
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:58
First Traffic Light
<script>
new TrafficLight().renderInto(document.body);
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:58
Powered Light
<script>
new TrafficLight().renderInto(document.body);
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:58
Powered Light with Event
<script>
new TrafficLight().renderInto(document.body);
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:58
Traffic Light Listening for Events
<script>
new TrafficLight().renderInto(document.body);
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:58
Event Sample
<script>
new Subscriber().renderInto(document.body);
</script>
@webOS101
webOS101 / fiddle.html
Last active October 13, 2015 21:58
Signal Sample
<script>
new App().renderInto(document.body);
</script>