1/** * Estimated Delivery - Front Office Feature 2 * 3 * NOTICE OF LICENSE 4 * 5 * @author Pol Rué 6 * @copyright Smart Modules 2015 7 * @license One time purchase Licence (You can modify or resell the product but just one time per licence) 8 * @version 3.2.7 9 * @category Transport & Logistics 10 * Registered Trademark & Property of Smart-Modules.prpo 11 * 12 * *************************************************** 13 * * Estimated Delivery * 14 * * http://www.smart-modules.com * 15 * * V 3.2.7 * 16 * *************************************************** 17*/ 18 19jQuery(document).ready(function($) { 20if ($(".ed_countdown").length != 0) { 21 var time_limit = $(".ed_countdown").data('rest'); 22 var curr_hour = new Date() 23 curr_hour = curr_hour.getHours()+':'+curr_hour.getMinutes(); 24 time_limit = time_limit.split(':'); 25 // Added to prevent extended time with refresh message 26 if (time_limit[0] == 0 && time_limit[1] < 59) { 27 time_limit[1]++; 28 } 29 countdown(); 30 var ed_count_color = $(".ed_countdown").css('color'); 31 } 32 function countdown() { 33 var time = ''; 34 time_limit[1] -= 1; 35 if (time_limit[1] < 0) { 36 time_limit[1] += 60; 37 time_limit[0]--; 38 if (time_limit[0] < 10 && time_limit[0] > 0) { 39 time_limit[0] = '0'+time_limit[0]; 40 } 41 if (time_limit[0] <= 0) { 42 time = ed_refresh; 43 } 44 } 45 46 47 if (time_limit[1] < 10 && time_limit[1] > 0) { 48 time_limit[1] = '0'+time_limit[1]; 49 } 50 if (time == '') { 51 time = (time_limit[0] != 0 ? time_limit[0]+' '+ed_hours+' '+ed_and+' ' : '')+(time_limit[1]+' '+ed_minutes) 52 $(".ed_countdown").html(time); 53 setTimeout(function () { countdown(); },60000); 54 } else { 55 $(".ed_orderbefore").html(ed_refresh); 56 } 57 } 58});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.