Skip to content

Commit

Permalink
Syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yjen committed Apr 21, 2016
1 parent a2329fc commit b4c5316
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ function poll() {
url: SEISMOMETER_DATA_SERVER,
type: "GET",
success: function(data) {
console.log(data)
console.log(data);
processData(data.z);
},
error: function() {
// console.log("hi");
processData(a);
}
// console.log("bye");
},
dataType: "json",
xhrFields: {
withCredentials: true
Expand Down

0 comments on commit b4c5316

Please sign in to comment.