Файловый менеджер - Редактировать - /home/digitalm/birramastro/wp-content/plugins/lt-ext/shortcodes/countup/jquery.counterup.min.js
Назад
/*! * jquery.counterup.js 1.0 * * Copyright 2013, Benjamin Intal http://gambit.ph @bfintal * Released under the GPL v2 License * * Date: Nov 26, 2013 */ ! function(t) { "use strict"; t.fn.counterUp = function(e) { var n = t.extend({ time: 400, delay: 10, beforedelay: 0 }, e); return this.each(function() { var e = t(this), u = n, a = function() { console.log(u.time, u.beforedelay); var t = [], n = u.time / u.delay, a = e.text(), r = /[0-9]+,[0-9]+/.test(a); e.data("counterup-nums", t), e.text("0"); setTimeout( function() { a = a.replace(/,/g, ""); for (var o = (/^[0-9]+$/.test(a), /^[0-9]+\.[0-9]+$/.test(a)), c = o ? (a.split(".")[1] || []).length : 0, i = n; i >= 1; i--) { var s = parseInt(a / n * i); if (o && (s = parseFloat(a / n * i).toFixed(c)), r) for (; /(\d+)(\d{3})/.test(s.toString());) s = s.toString().replace(/(\d+)(\d{3})/, "$1,$2"); t.unshift(s) } var d = function() { e.text(e.data("counterup-nums").shift()), e.data("counterup-nums").length ? setTimeout(e.data("counterup-func"), u.delay) : (delete e.data("counterup-nums"), e.data("counterup-nums", null), e.data("counterup-func", null)) }; e.data("counterup-func", d), setTimeout(e.data("counterup-func"), u.delay) }, u.beforedelay); }; e.waypoint(a, { offset: "100%", triggerOnce: !0 }) }) } }(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.05 |
proxy
|
phpinfo
|
Настройка