<commit_before>YUI.add('gear-edit-button', function(Y) {

	var GearEditButton,
		EditModule = Y.Pearl.EditModule;

	// GearEditButton View
	// Responsible appending an edit button to pure-edit each DOM element in order to reveal EditModule
	GearEditButton = Y.Base.create('gearEditButton', Y.View, [], {
		
		// ---- Initialize Gear Buttons -----------------------------------------------------------------------------------
		initializer: function() {

			var gearButton,
				that           = this,
				container      = this.get('container'),
				gearButtonLink = 1;

			container.all('.pure-edit').each(function(n) {

				n.get('children').each(function(child) {

					gearButton = Y.Node.create('<img class="gearButton ' + 'pure-gearButtonLink-' + gearButtonLink + '" src="/img/gear.png" alt="edit" />');
							
						gearButton.setStyles({
							'display' : 'none',
							'width'   : '20',
							'height'  : '20',
							'position': 'absolute',
							'left'    : child.getX(),
							'z-index' : '1000'
						});

						child.insert(gearButton, 'before');
						child.addClass('pure-gearButtonLink-' + gearButtonLink);

						gearButtonLink++;

				});							

			});

			this.renderModule();

		},

		// ---- Render View to DOM ---------------------------------------------------------------------------------
		render: function() {			
			

			return this;
		},

		renderModule: function() {
			var linkIndex,
				moduleLink,
				container  = this.get('container');
				
			container.all('.pure-edit').each(function(n) {

				n.get('children').each(function(child) {
<commit_msg>Save CleanUp<commit_after>YUI.add('gear-edit-button', function(Y) {

	var GearEditButton,
		EditModule = Y.Pearl.EditModule;

	// GearEditButton View
	// Responsible appending an edit button to pure-edit each DOM element in order to reveal EditModule
	GearEditButton = Y.Base.create('gearEditButton', Y.View, [], {
		
		// ---- Initialize Gear Buttons -----------------------------------------------------------------------------------
		initializer: function() {

			var gearButton,
				that           = this,
				container      = this.get('container'),
				gearButtonLink = 1;

			container.all('.pure-edit').each(function(n) {

				n.get('children').each(function(child) {

					gearButton = Y.Node.create('<img class="gearButton ' + 'pure-gearButtonLink-' + gearButtonLink + '" src="/img/gear.png" alt="edit" />');
						console.log(child.getStyle('paddingLeft'));
					gearButton.setStyles({
						'display' : 'none',
						'width'   : '20',
						'height'  : '20',
						'position': 'absolute',
						'left'    : child.getX(),
						'z-index' : '1000'
					});

					child.insert(gearButton, 'before');
					child.addClass('pure-gearButtonLink-' + gearButtonLink);

					gearButtonLink++;

				});							

			});

			this.renderModule();

		},

		// ---- Render View to DOM ---------------------------------------------------------------------------------
		render: function() {			
			

			return this;
		},

		renderModule: function() {
			var linkIndex,
				moduleLink,
				container  = this.get('container');
				
			container.all('.pure-edit').each(function(n) {

				n.get('children').each(function(child) {

{'fraction_non_alphanumeric': 0.2509351620947631, 'fraction_numerical': 0.005610972568578554, 'mean_word_length': 1.870304114490161, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3078472', 'n_tokens_mistral': 1241, 'n_tokens_neox': 921, 'n_words': 170}