Skip to content

Instantly share code, notes, and snippets.

@ToeJamson
Created March 20, 2018 22:16

Revisions

  1. ToeJamson created this gist Mar 20, 2018.
    4 changes: 4 additions & 0 deletions latlong.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    setInterval(function() {
    pubnub.publish({channel:pnChannel, message:currentLocation()});
    }, 5000);
    </script>