(function() { "use strict"; /** * Extends functionality of the input range * @namespace */ db.libs.ticker = (function($) { var name = "ticker"; function init(id) { var ticker = $(".news-ticker-wrapper"); if(!ticker) return; var seconds = ticker.outerWidth() / 60; ticker.css('animation-duration', seconds + "s"); } return { init: init, reflow: init }; })(jQuery); })();