From f0b041cdb13493780b28e0353338f08ba6d9c9b6 Mon Sep 17 00:00:00 2001 From: estebanrfp Date: Wed, 8 Apr 2020 18:13:33 +0200 Subject: [PATCH] improve indentation code - vanilla folder examples --- examples/vanilla/screen.html | 121 +++++++++++++++++++---------------- examples/vanilla/todo.html | 18 ++++-- 2 files changed, 79 insertions(+), 60 deletions(-) diff --git a/examples/vanilla/screen.html b/examples/vanilla/screen.html index 28467355..a0fd9b9a 100644 --- a/examples/vanilla/screen.html +++ b/examples/vanilla/screen.html @@ -1,66 +1,77 @@ + - -
- - -
+ + Think + + - + + +
+ + +
- - const video = document.querySelector('#video') - const playButton = document.querySelector('#play') - const recordButton = document.querySelector('#record') + + playButton.innerText = 'Stop' + record.playing = true + + gun.get('test').get('screen').once(data => { + if (!data) { return } + video.src = data + video.play() + }) + }, false) + + + + \ No newline at end of file diff --git a/examples/vanilla/todo.html b/examples/vanilla/todo.html index 8f12a29e..8706fd4f 100644 --- a/examples/vanilla/todo.html +++ b/examples/vanilla/todo.html @@ -1,4 +1,11 @@ + + + + Think + + +

Thoughts

@@ -9,13 +16,14 @@ - + + \ No newline at end of file