"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/wall_clock_listener.js" between
Signal-Desktop-1.35.2.tar.gz and Signal-Desktop-1.36.1.tar.gz

About: Signal-Desktop is a cross-platform encrypted messaging service (also available for mobile devices).

wall_clock_listener.js  (Signal-Desktop-1.35.2):wall_clock_listener.js  (Signal-Desktop-1.36.1)
/* global Whisper */ /* global Whisper */
// eslint-disable-next-line func-names // eslint-disable-next-line func-names
(function() { (function() {
'use strict';
window.Whisper = window.Whisper || {}; window.Whisper = window.Whisper || {};
let lastTime; let lastTime;
const interval = 1000; const interval = 1000;
let events; let events;
function checkTime() { function checkTime() {
const currentTime = Date.now(); const currentTime = Date.now();
if (currentTime > lastTime + interval * 2) { if (currentTime > lastTime + interval * 2) {
events.trigger('timetravel'); events.trigger('timetravel');
} }
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)