{:uriI"file:///home/franco/Documents/mumuki/laboratory/app/assets/javascripts/application/timer.js?type=application/javascript&pipeline=self&id=88ebe64c9fb2c063870dc5a96f965ff16ed1e69d920ca083e2d04c9065689cce:ET:load_pathI"D/home/franco/Documents/mumuki/laboratory/app/assets/javascripts;T: filenameI"Y/home/franco/Documents/mumuki/laboratory/app/assets/javascripts/application/timer.js;T: nameI"application/timer;T:logical_pathI"application/timer.self.js;T:content_typeI"application/javascript;T: sourceI"var mumuki = mumuki || {}; (function (mumuki) { mumuki.startTimer = function (endDate) { var endTime = new Date(endDate).getTime(); var currentTime = Date.now(); var diffTime = endTime - currentTime; var duration = moment.duration(diffTime, 'milliseconds'); var interval = 1000; setInterval(function () { duration = moment.duration(duration - interval, 'milliseconds'); $('#timer').text(duration.hours() + ":" + duration.minutes() + ":" + duration.seconds()) }, interval); }; })(mumuki); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"gfile-digest:///home/franco/Documents/mumuki/laboratory/app/assets/javascripts/application/timer.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%z@Dj ՗N4*9 ȷɾe+~: lengthi:dependencies_digest"%xs MF6fSx,Oo:idI"E88ebe64c9fb2c063870dc5a96f965ff16ed1e69d920ca083e2d04c9065689cce;F: mtimel+DK[