1/* global jQuery, App */ 2(function ($) { 3 4 "use strict"; 5 6 App.money2eurController = App.DOMController.extend({ 7 rootElement: 'body', 8 originalClass: '', 9 $modalElement: null, 10 11 init: function() { 12 if (this.$element.find('div.module-exchange').length || this.$element.find('div.box-schedule').length) { 13 var localTimeZone = $('#clockLocal').data('timezone'); 14 var foreignTimeZone = $('#clockForeign').data('timezone'); 15 var format = $('#clockLocal').data('format'); 16 setInterval(function() { 17 if (format == '12') { 18 var timeZoneFormat = 'h:mm:ss A'; 19 } else { 20 var timeZoneFormat = 'HH:mm:ss'; 21 } 22 $('#clockLocal .time').html(moment.tz(localTimeZone).format(timeZoneFormat)); 23 $('#clockForeign .time').html(moment.tz(foreignTimeZone).format(timeZoneFormat)); 24 }, 1000); 25 } 26 } 27 }); 28 29 App.registerController('App.money2eurController'); 30 31})(jQuery);
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.