changeset 149:c2647173b60a

only start dht monitoring loop if it works a first time Ignore-this: d1062a582258369d559e823441a955e0
author drewp@bigasterisk.com
date Sat, 12 Jul 2014 22:31:46 -0700
parents 1b6ed0fa2f5b
children 87e5c55c4c59
files service/pilight/makefile service/pilight/static/index.html
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/service/pilight/makefile	Sat Jul 12 22:30:51 2014 -0700
+++ b/service/pilight/makefile	Sat Jul 12 22:31:46 2014 -0700
@@ -12,7 +12,6 @@
 
 setup:
 	ln -s . public
-	@echo also need static/polymer/ to be polymer 0.2.3
 
 build-to-pi: deps
 	GOBIN=bin-pi GOARCH=arm go install pilight.go
--- a/service/pilight/static/index.html	Sat Jul 12 22:30:51 2014 -0700
+++ b/service/pilight/static/index.html	Sat Jul 12 22:31:46 2014 -0700
@@ -105,8 +105,7 @@
                 requestAnimationFrame(loop);
             }, 2000);
         }
-//$.getJSON("dht", loop);
-
+        $.getJSON("dht", loop);
     });
     </script>
   </body>