<commit_before>// this example shows the use of onShow and onHide callbacks. Make
// sure to read the documentation for futher instructions, and
// an explanation of the "hash" argument.

$().ready(function() {
	$('#ex3c')
		.jqDrag('.jqDrag')
		.jqResize('.jqResize')
		.jqm({
			trigger:'#ex3cTrigger',
			overlay: 0,
			onShow: function(h) {
				/* callback executed when a trigger click. Show notice */
				h.w.css('opacity',0.92).slideDown(); 
				},
			onHide: function(h) {
				/* callback executed on window hide. Hide notice, overlay. */
				h.w.slideUp("slow",function() { if(h.o) h.o.remove(); }); } 
			});
});
<commit_msg>updated example onShow and onHide callbacks<commit_after>// this example shows the use of onShow and onHide callbacks. Make
// sure to read the documentation for futher instructions, and
// an explanation of the "hash" argument.

$().ready(function() {
	$('#ex3c')
		.jqDrag('.jqDrag')
		.jqResize('.jqResize')
		.jqm({
			trigger:'#ex3cTrigger',
			overlay: 0,
			onShow: function(h) {
				/* callback executed when a trigger click. Show notice */
				h.w.css('opacity',0.92).slideDown(function(){ if(h.o) h.o.show(); });
				
				return true;},
			onHide: function(h) {
				/* callback executed on window hide. Hide notice, overlay. */
				h.w.slideUp("slow",function() { if(h.o) h.o.remove(); }); 
				
				return true;} 
			});
});

{'fraction_non_alphanumeric': 0.17213712618526622, 'fraction_numerical': 0.0087527352297593, 'mean_word_length': 3.208588957055215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2876047', 'n_tokens_mistral': 536, 'n_tokens_neox': 454, 'n_words': 129}