<commit_before>(function($){
	"use strict";

	var XeUploader = xe.createApp('XeUploader', {
		files: {},
		selected_files: [],
		last_selected_file: null,
		editor_sequence: null,
		init : function() {
			this.file_list_container = $('.xe-uploader-filelist select');
		},
		createInstance: function(containerEl, opt) {
			var self = this;
			var $container = this.$container = containerEl;
			var data = $container.data();
			this.editor_sequence = $container.data('editor-sequence');

			var settings = {
				url: request_uri.setQuery('module', 'file').setQuery('act', 'procFileUpload'),
				autoUpload: true,
				formData: {"editor_sequence": data.editorSequence, "upload_target_srl" : data.uploadTargetSrl},
				dataType: 'json',
				dropZone: $container,
				done: function(e, res) {
					var result = res.result;

					if(result.error == 0) {
						this.uploadedBytes += res.total;
						self.done.call(self, arguments);
					} else {
						alert(result.message);
					}
				},
				stop: function() {
					self.loadFilelist();
				},
				start: function() {
					$('#progress').find('.progress-bar').width(0).addBack().show();
				},
				progressall: function (e, data) {
					var progress = parseInt(data.loaded / data.total * 100, 10);
					$('.progress-bar').width(progress+'%');

					if(progress >= 100) {
						$('#progress').delay(5000).slideUp();
					}
				}
			};
			$.extend(settings, opt || {});

			var INS = $container.fileupload(settings)
				.prop('disabled', !$.support.fileInput)
				.parent()
				.addClass($.support.fileInput ? undefined : 'disabled');

			$container.data('xe-uploader-instance', this);

			// 파일 선택
			$(this.file_list_container).on('change', function(e) {
				var $el = $('option:selected', this.file_list_container);
				self.selected_files = [];
				$el.each(function(idx, el) {
					self.selected_files.push(el);
				});
			});

			// 파일 선택
			$(this.file_list_container).on('click', function(e) {
				if(e.target.tagName === 'OPTION')
				{
					self.last_selected_file = e.target;
					self.selectFile();
				}
			});<commit_msg>잘못된 selector의 사용 fix<commit_after>(function($){
	"use strict";

	var XeUploader = xe.createApp('XeUploader', {
		files: {},
		selected_files: [],
		last_selected_file: null,
		editor_sequence: null,
		init : function() {
			this.file_list_container = $('.xe-uploader-filelist select');
		},
		createInstance: function(containerEl, opt) {
			var self = this;
			var $container = this.$container = containerEl;
			var data = $container.data();
			this.editor_sequence = $container.data('editor-sequence');

			var settings = {
				url: request_uri.setQuery('module', 'file').setQuery('act', 'procFileUpload'),
				autoUpload: true,
				formData: {"editor_sequence": data.editorSequence, "upload_target_srl" : data.uploadTargetSrl},
				dataType: 'json',
				dropZone: $container,
				done: function(e, res) {
					var result = res.result;

					if(result.error == 0) {
						this.uploadedBytes += res.total;
						self.done.call(self, arguments);
					} else {
						alert(result.message);
					}
				},
				stop: function() {
					self.loadFilelist();
				},
				start: function() {
					$('#progress').find('.progress-bar').width(0).addBack().show();
				},
				progressall: function (e, data) {
					var progress = parseInt(data.loaded / data.total * 100, 10);
					$('.progress-bar').width(progress+'%');

					if(progress >= 100) {
						$('#progress').delay(5000).slideUp();
					}
				}
			};
			$.extend(settings, opt || {});

			var INS = $container.fileupload(settings)
				.prop('disabled', !$.support.fileInput)
				.parent()
				.addClass($.support.fileInput ? undefined : 'disabled');

			$container.data('xe-uploader-instance', this);

			// 파일 선택
			$(this.file_list_container).on('change', function(e) {
				var $el = self.file_list_container.find('option:selected');

				self.selected_files = [];
				$el.each(function(idx, el) {
					self.selected_files.push(el);
				});
			});

			// 파일 선택
			$(this.file_list_container).on('click', function(e) {
				if(e.target.tagName === 'OPTION')
				{
					self.last_selected_file = e.target;
					self.selectFile();
				}
			});
{'fraction_non_alphanumeric': 0.1797887662025924, 'fraction_numerical': 0.00672107537205953, 'mean_word_length': 3.1963746223564953, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 5, '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': '6193563', 'n_tokens_mistral': 1770, 'n_tokens_neox': 1397, 'n_words': 236}