PageSourceSearch

https://hand-madeclub.ru/bitrix/templates/concept_phoenix_s1/lang/ru/jquery.countdown-ru.js

js hand-madeclub.ru collected 2026-09-27 10:37:01 UTC 1,045 bytes, 24 lines download raw bytes

1/* http://keith-wood.name/countdown.html
2 * Russian initialisation for the jQuery countdown extension
3 * Written by Sergey K. (xslade{at}gmail.com) June 2010. */
4
5(function($) {
6	'use strict';
7	$.countdown.regionalOptions.ru = {
8		labels: ['Лет','Месяцев','Недель','Дней','Часов','Минут','Секунд'],
9		labels1: ['Год','Месяц','Неделя','День','Час','Минута','Секунда'],
10		labels2: ['Года','Месяца','Недели','Дня','Часа','Минуты','Секунды'],
11		compactLabels: ['л','м','н','д'],
12		compactLabels1: ['г','м','н','д'],
13		whichLabels: function(amount) {
14			var units = amount % 10;
15			var tens = Math.floor((amount % 100) / 10);
16			return (amount === 1 ? 1 : (units >= 2 && units <= 4 && tens !== 1 ? 2 :
17				(units === 1 && tens !== 1 ? 1 : 0)));
18		},
19		digits: ['0','1','2','3','4','5','6','7','8','9'],
20		timeSeparator: ':',
21		isRTL: false
22	};
23	$.countdown.setDefaults($.countdown.regionalOptions.ru);
24})(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.