PageSourceSearch

https://dk-katrichev.ru/templates/jsn_time_free/js/jsn_template.js

js dk-katrichev.ru collected 2026-10-08 14:34:02 UTC 1,259 bytes, 42 lines download raw bytes

1/**
2* @author    JoomlaShine.com http://www.joomlashine.com
3* @copyright Copyright (C) 2008 - 2011 JoomlaShine.com. All rights reserved.
4* @license   GNU/GPL v2 http://www.gnu.org/licenses/gpl-2.0.html
5*/
6
7	var JSNTemplate = {
8		_templateParams:		{},
9
10		initOnDomReady: function()
11		{
12			// Setup HTML code for typography
13			JSNUtils.createGridLayout("DIV", "grid-layout", "grid-col", "grid-lastcol");
14			JSNUtils.createExtList("list-number-", "span", "jsn-listbullet", true);
15			JSNUtils.createExtList("list-icon", "span", "jsn-listbullet", false);
16
17
18			// General layout setup
19			JSNUtils.setupLayout();
20
21		},
22
23		initOnLoad: function()
24		{
25			// Setup event to update submenu position
26			JSNUtils.setSubmenuPosition(_templateParams.enableRTL);
27
28			// Stick positions layout setup
29			JSNUtils.setVerticalPosition("jsn-pos-stick-leftmiddle", 'middle');
30			JSNUtils.setVerticalPosition("jsn-pos-stick-rightmiddle", 'middle');
31		},
32
33		initTemplate: function(templateParams)
34		{
35			// Store template parameters
36			_templateParams = templateParams;
37
38			// Init template on "domready" event
39			window.addEvent('domready', JSNTemplate.initOnDomReady);
40			window.addEvent('load', JSNTemplate.initOnLoad);
41		}
42	}; // must have ; to prevent syntax error when compress

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.