<commit_before>//****************************************
// dir2Slider | MIT License (MIT)
// ------------------------------
// >!!! jQuery is required !!!<
//
// Example usage:
//		dir2Slider("http://www.example.com/img", ".jpg", 600, 800);
//****************************************
(function($) {
window.dir2Slider=dir2Slider;

	//********************
	// dir2Slider
	// --------------------
	// parameter | example
	// --------------------
	// path 			: "img/", "http://example.com/img/"
	// fileExtension 	: ".jpg", ".gif", ".png" [...]
	// height 			: 400
	// width 			: 600
	// slideNumbers		: "true", "false"
	// arrowKeyControl	: "true", "false"
	// boxControl		: "true", "false"
	// autoSlideTime	: 2
	//********************
	function dir2Slider(path, fileExtension, height, width, slideNumbers, arrowKeyControl, boxControl, autoSlideTime) {
		// Parameter
		if(typeof(path)==='undefined') path = "img/";
		if(typeof(fileExtension)==='undefined') fileExtension = ".jpg";
		if(typeof(height)==='undefined') height = 400;
		if(typeof(width)==='undefined') width = 600;
		if(typeof(slideNumbers)==='undefined') slideNumbers = false;
		if(typeof(arrowKeyControl)==='undefined') arrowKeyControl = true;<commit_msg>~ Parameter<commit_after>//****************************************
// dir2Slider | MIT License (MIT)
// ------------------------------
// >!!! jQuery is required !!!<
//
// Example usage:
//		dir2Slider("http://www.example.com/img", ".jpg", 600, 800);
//****************************************
(function($) {
window.dir2Slider=dir2Slider;

	//********************
	// dir2Slider
	// --------------------
	// parameter | example
	// --------------------
	// path 			: "img/", "http://example.com/img/"
	// fileExtension 	: ".jpg", ".gif", ".png" [...]
	// height 			: 400
	// width 			: 600
	// slideNumbers		: "true", "false"
	// arrowKeyControl	: "true", "false"
	// boxControl		: "true", "false"
	// autoSlideTime	: 2
	//********************
	function dir2Slider(options) {
		// Parameter
		path = options.path;
		fileExtension = options.fileExtension;
		height = options.height;
		width = options.width;
		slideNumbers = options.slideNumbers;
		arrowKeyControl = options.arrowKeyControl;
		boxControl = options.boxControl;
		autoSlideTime = options.autoSlideTime;
		
		// Default Parameter
		if(typeof(path)==='undefined') path = "img/";
		if(typeof(fileExtension)==='undefined') fileExtension = ".jpg";
		if(typeof(height)==='undefined') height = 400;
		if(typeof(width)==='undefined') width = 600;
		if(typeof(slideNumbers)==='undefined') slideNumbers = false;
		if(typeof(arrowKeyControl)==='undefined') arrowKeyControl = true;
{'fraction_non_alphanumeric': 0.3163841807909605, 'fraction_numerical': 0.018832391713747645, 'mean_word_length': 3.143525741029641, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7434656', 'n_tokens_mistral': 890, 'n_tokens_neox': 815, 'n_words': 149}