PageSourceSearch

https://tips.org.za/components/com_roksprocket/assets/js/roksprocket.js

js tips.org.za collected 2026-10-02 06:37:16 UTC 1,476 bytes, 36 lines download raw bytes

1/*!
2 * @version   $Id: roksprocket.js 10889 2013-05-30 07:48:35Z btowles $
3 * @author    RocketTheme http://www.rockettheme.com
4 * @copyright Copyright (C) 2007 - 2018 RocketTheme, LLC
5 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
6 */
7((function(){
8
9	var sprocket = {
10		instances: {}
11	};
12
13	if (typeof this.RokSprocket == 'undefined') this.RokSprocket = sprocket;
14	else Object.merge(this.RokSprocket, {instances: {}});
15
16
17	/* Ugly workaround for data-sets issue for IE < 9 on Moo < 1.4.4 */
18	if (MooTools.version < "1.4.4" && (Browser.name == 'ie' && Browser.version < 9)){
19		((function(){
20			var dataList = [
21				'rel', 'data-next', 'data-previous',
22				'data-tabs', 'data-tabs-navigation', 'data-tabs-panel', 'data-tabs-next', 'data-tabs-previous',
23				'data-lists', 'data-lists-items', 'data-lists-item', 'data-lists-toggler', 'data-lists-content', 'data-lists-page', 'data-lists-next', 'data-lists-previous',
24				'data-headlines', 'data-headlines-item', 'data-headlines-next', 'data-headlines-previous',
25				'data-features', 'data-features-pagination', 'data-features-next', 'data-features-previous',
26				'data-slideshow', 'data-slideshow-pagination', 'data-slideshow-next', 'data-slideshow-previous',
27				'data-showcase', 'data-showcase-pagination', 'data-showcase-next', 'data-showcase-previous'
28			];
29
30			dataList.each(function(data){
31				Element.Properties[data] = {get: function(){ return this.getAttribute(data); }};
32			});
33		})());
34	}
35
36})());

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.