start refactoring basejumps and ziplines to just be normal challenges, make all timestamps miliseconds

This commit is contained in:
Michael Q Larson
2015-03-27 14:36:17 -07:00
parent ac8487a4fc
commit f7f7fb39b9
17 changed files with 145 additions and 295 deletions

View File

@@ -250,7 +250,7 @@ var runTests = function(err, data) {
};
function showCompletion() {
var time = Math.floor(Date.now() / 1000) - started;
var time = Math.floor(Date.now()) - started;
ga('send', 'event', 'Challenge', 'solved', challengeName + ', Time: ' + time +', Attempts: ' + attempts);
$('#complete-bonfire-dialog').modal('show');
$('#complete-bonfire-dialog').keydown(function(e) {