PageSourceSearch

https://www.socialmotus.com/js/config.js

js socialmotus.com collected 2026-10-04 21:14:56 UTC 8,258 bytes, 307 lines download raw bytes

1/*----------------------------------------------------------------------*/
2/* Set some Standards
3/* This file not required! It just demonstrate how you can define
4/* standards in one configuration file
5/*----------------------------------------------------------------------*/
6
7//var config = {
8//	tooltip :{
9//		gravity: 'nw',
10//		fade: false,
11//		opacity: 1,
12//		offset: 0
13//	}
14//};
15
16
17
18//if($.fn.wl_Alert) $.fn.wl_Alert.defaults = {
19//	speed: 500,
20//	sticky: false,
21//	onBeforeClose: function (element) {},
22//	onClose: function (element) {}
23//};
24
25//if($.fn.wl_Autocomplete) $.fn.wl_Autocomplete.defaults = {
26//	//check http://jqueryui.com/demos/autocomplete/ for all options
27//};
28
29//if($.fn.wl_Breadcrump) $.fn.wl_Breadcrump.defaults = {
30//	start: 0,
31//	numbers: false,
32//	allownextonly: false,
33//	disabled: false,
34//	connect: null,
35//	onChange: function () {}
36//};
37
38//if($.fn.wl_Calendar) $.fn.wl_Calendar.defaults = {
39//	//check http://arshaw.com/fullcalendar/ for all options
40//};
41
42//var prefix = "engagements" 
43
44//if($.fn.wl_Chart) $.fn.wl_Chart.defaults = {
45//	width: null,
46//	height: 300,
47//	hideTable: true,
48//	data: {},
49//	stack: false,
50//	type: 'lines',
51//	points: null,
52//	shadowSize: 2,
53//	fill: null,
54//	fillColor: null,
55//	lineWidth: null,
56//	legend: true,
57//	legendPosition: "nw", // or "nw" or "se" or "sw"
58//	tooltip: true,
59//	tooltipGravity: 'n',
60//	tooltipPattern: function (value, legend, label, id) {
61//		return value + " " + prefix + " from " + legend + " at " + label + " (" + id + ")";
62//	},
63//	//tooltipPattern: "value %1 from %2 at %3 (%4)", //also possible
64//	orientation: 'horizontal',
65//	colors: ['#b2e7b2', '#f0b7b7', '#b5f0f0', '#e8e8b3', '#efb7ef', '#bbb6f0'],
66//	flot: {},
67//	onClick: function (value, legend, label, id) {}
68//};
69
70//if($.fn.wl_Color) $.fn.wl_Color.defaults = {
71//	mousewheel: true,
72//	onChange: function (hsb, rgb) {}
73//};
74
75
76//if($.fn.wl_Date) $.fn.wl_Date.defaults = {
77//	value: null,
78//	mousewheel: true,
79//	
80//	//some datepicker standards
81//	dayNames : ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
82//	dayNamesMin : ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
83//	dayNamesShort : ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
84//	firstDay: 0,
85//	nextText: 'next',
86//	prevText: 'prev',
87//	currentText: 'Today',
88//	showWeek: true,
89//	dateFormat: 'mm/dd/yy'
90//};
91
92
93//if($.confirm) $.confirm.defaults = {
94//	text:{
95//		header: 'Please confirm',
96//		ok: 'Yes',
97//		cancel: 'No'
98//	}
99//};
100//if($.prompt) $.prompt.defaults = {
101//	text:{
102//		header: 'Please prompt',
103//		ok: 'OK',
104//		cancel: 'Cancel'
105//	}
106//};
107//if($.alert) $.alert.defaults = {
108//	nativ: false,
109//	resizable: false,
110//	modal: true,
111//	text:{
112//		header: 'Notification',
113//		ok: 'OK'
114//	}
115//};
116
117//if($.fn.wl_Editor) $.fn.wl_Editor.defaults = {
118//	css: 'css/light/editor.css',
119//	buttons: 'bold|italic|underline|strikeThrough|justifyLeft|justifyCenter|justifyRight|justifyFull|highlight|indent|outdent|subscript|superscript|undo|redo|insertOrderedList|insertUnorderedList|insertHorizontalRule|createLink|insertImage|h1|h2|h3|h4|h5|h6|paragraph|rtl|ltr|cut|copy|paste|increaseFontSize|decreaseFontSize|html|code|removeFormat|insertTable',
120//	initialContent: ""
121//};
122
123//if($.fn.wl_File) $.fn.wl_File.defaults = {
124//	url: 'upload.php',
125//	autoUpload: true,
126//	paramName: 'files',
127//	multiple: false,
128//	allowedExtensions: false,
129//	maxNumberOfFiles: 0,
130//	maxFileSize: 0,
131//	minFileSize: 0,
132//	sequentialUploads: false,
133//	dragAndDrop: true,
134//	formData: {},
135//	text: {
136//		ready: 'ready',
137//		cancel: 'cancel',
138//		remove: 'remove',
139//		uploading: 'uploading...',
140//		done: 'done',
141//		start: 'start upload',
142//		add_files: 'add files',
143//		cancel_all: 'cancel upload',
144//		remove_all: 'remove all'
145//	},
146//	onAdd: function (e, data) {},
147//	onSend: function (e, data) {},
148//	onDone: function (e, data) {},
149//	onFinish: function (e, data) {},
150//	onFail: function (e, data) {},
151//	onAlways: function (e, data) {},
152//	onProgress: function (e, data) {},
153//	onProgressAll: function (e, data) {},
154//	onStart: function (e) {},
155//	onStop: function (e) {},
156//	onChange: function (e, data) {},
157//	onDrop: function (e, data) {},
158//	onDragOver: function (e) {},
159//	onFileError: function (error, fileobj) {
160//		$.msg('file is not allowed: ' + fileobj.name, {
161//			header: error.msg + ' (' + error.code + ')'
162//		});
163//	}
164//};
165
166//if($.fn.wl_Fileexplorer) $.fn.wl_Fileexplorer.defaults = {
167//	url: 'elfinder/php/connector.php',
168//	toolbar: [
169//		['back', 'reload', 'open', 'select', 'quicklook', 'info', 'rename', 'copy', 'cut', 'paste', 'rm', 'mkdir', 'mkfile', 'upload', 'duplicate', 'edit', 'archive', 'extract', 'resize', 'icons', 'list', 'help']
170//	]
171//};
172
173//if($.fn.wl_Form) $.fn.wl_Form.defaults = {
174//	submitButton: 'button:last',
175//	method: 'post',
176//	action: null,
177//	ajax: true,
178//	serialize: false,
179//	parseQuery: true,
180//	dataType: 'text',
181//	status: true,
182//	sent: false,
183//	confirmSend: true,
184//	text: {
185//		required: 'This field is required',
186//		valid: 'This field is invalid',
187//		password: 'This password is to short',
188//		passwordmatch: 'This password doesn\'t match',
189//		fileinqueue: 'There is at least one file in the queue',
190//		incomplete: 'Please fill out the form correctly!',
191//		send: 'send form...',
192//		sendagain: 'send again?',
193//		success: 'form sent!',
194//		error: 'error while sending!',
195//		parseerror: 'Can\'t unserialize query string:\n %e'
196//	},
197//	tooltip: {
198//		gravity: 'nw'
199//	},
200//	onRequireError: function (element) {},
201//	onValidError: function (element) {},
202//	onPasswordError: function (element) {},
203//	onFileError: function (element) {},
204//	onBeforeSubmit: function (data) {},
205//	onComplete: function (textStatus, jqXHR) {},
206//	onError: function (textStatus, error, jqXHR) {},
207//	onSuccess: function (data, textStatus, jqXHR) {}
208//};
209
210
211//if($.fn.wl_Gallery) $.fn.wl_Gallery.defaults = {
212//	group: 'wl_gallery',
213//	fancybox: {},
214//	onEdit: function (element, href, title) {},
215//	onDelete: function (element, href, title) {}
216//};
217
218//if($.fn.wl_Number) $.fn.wl_Number.defaults = {
219//	step: 1,
220//	decimals: 0,
221//	start: 0,
222//	min: null,
223//	max: null,
224//	mousewheel: true,
225//	onChange: function (value) {},
226//	onError: function (value) {}
227//};
228
229//if($.fn.wl_Password) $.fn.wl_Password.defaults = {
230//	confirm: true,
231//	showStrength: true,
232//	words: ['too short', 'weak', 'medium', 'strong'],
233//	minLength: 3,
234//	text: {
235//	    confirm: 'Please enter confirm Password below',
236//		nomatch: 'password doesn\'t match'
237//	}
238//};
239
240//if($.fn.wl_Slider) $.fn.wl_Slider.defaults = {
241//	min: 0,
242//	max: 100,
243//	step: 1,
244//	animate: false,
245//	disabled: false,
246//	orientation: 'horizontal',
247//	range: false,
248//	mousewheel: true,
249//	connect: null,
250//	onSlide: function (value) {},
251//	onChange: function (value) {}
252//};
253
254//if($.fn.wl_Time) $.fn.wl_Time.defaults = {
255//	step: 5,
256//	timeformat: 24,
257//	roundtime: true,
258//	time: null,
259//	value: null,
260//	mousewheel: true,
261//	onDateChange: function (offset) {},
262//	onHourChange: function (offset) {},
263//	onChange: function (value) {}
264//};
265
266//if($.fn.wl_Valid) $.fn.wl_Valid.defaults = {
267//	errorClass: 'error',
268//	instant: true,
269//	regex: /.*/,
270//	minLength: 0,
271//	onChange: function ($this, value) {},
272//	onError: function ($this, value) {}
273//};
274
275//if($.fn.wl_Mail) $.fn.wl_Mail.defaults = {
276//	regex: /^([\w-]+(?:\.[\w-]+)*)\@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$|(\[?(\d{1,3}\.){3}\d{1,3}\]?)$/i,
277//	onChange: function (element, value) {
278//		element.val(value.toLowerCase());
279//	}
280//};
281
282//if($.fn.wl_URL) $.fn.wl_URL.defaults = {
283//	regex: /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w]))*\.+(([\w#!:.?+=&%@!\-\/]))?/,
284//	instant: false,
285//	onChange: function (element, value) {
286//		if (!/^(ftp|http|https):\/\//.test(value)) element.val('http://' + value).trigger('change.wl_Valid');
287//	}
288//};
289
290//if($.fn.wl_Widget) $.fn.wl_Widget.defaults = {
291//	collapsed: false,
292//	load: null,
293//	reload: false,
294//	removeContent: true,
295//	collapseable: true,
296//	sortable: true,
297//	text: {
298//		loading: 'loading...',
299//		reload: 'reload',
300//		collapse: 'collapse widget',
301//		expand: 'expand widget'
302//	},
303//	onDrag: function () {},
304//	onDrop: function () {},
305//	onExpand: function () {},
306//	onCollapse: function () {}
307//};

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.