Skip to content

Commit

Permalink
added a "hello" message upon load
Browse files Browse the repository at this point in the history
  • Loading branch information
d19fe8 committed Jul 5, 2017
1 parent 2fa4151 commit ac60b7d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,11 @@ self.onmessage = function ( e ) {
intervalID = setInterval( function() { checkTimeElapsed(initTime);} , 3000);
}
}

detector_output.time = new Date();
mailer.postMessage(detector_output);
postMessage(detector_output);
console.log("output_data = ", detector_output);

break;
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ self.onmessage = function ( e ) {
}
}

detector_output.time = new Date();
mailer.postMessage(detector_output);
postMessage(detector_output);
console.log("output_data = ", detector_output);

break;
default:
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ self.onmessage = function ( e ) {
attemptWindow = JSON.parse(detector_output.history);
}

detector_output.time = new Date();
mailer.postMessage(detector_output);
postMessage(detector_output);
console.log("output_data = ", detector_output);

break;
default:
break;
Expand Down
7 changes: 7 additions & 0 deletions HTML/Assets/Detectors/Lumilo/System_Misuse/system_misuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,13 @@ self.onmessage = function ( e ) {
intervalID = setInterval( function() { checkTimeElapsed(initTime);} , 3000);
}
}

detector_output.time = new Date();
mailer.postMessage(detector_output);
postMessage(detector_output);
console.log("output_data = ", detector_output);


break;
default:
break;
Expand Down

0 comments on commit ac60b7d

Please sign in to comment.