<commit_before>require([
				// Application.
				'app',

				// Main Router.
				'router'

// Get the whole application started.
], function(app, Router) {
    'use strict';

	// Create our router and
	// attach it to the app.
	app.router = new Router();

	// Use hash urls for prototyping
	// This way we can just use a simple HTTP server
	Backbone.history.start({ pushState: false, root: app.root });

	// Relative links will be navigated
	// through the Backbone router.
	// If the link has a `data-bypass` attr,
	// this special behavior will be ignored.
	$(document).on('click', 'a[href]:not([data-bypass]):not(target="_blank")', function(evt) {
		var href = {
			prop: $(this).prop('href'),
			attr: $(this).attr('href')
		};

		var root = location.protocol + '//' + location.host + app.root;

		// Check if the link is relative
		if (href.prop.slice(0, root.length) === root) {
			evt.preventDefault();
			Backbone.history.navigate(href.attr, true);
		}
	});
});
<commit_msg>fixed target blank selection<commit_after>require([
				// Application.
				'app',

				// Main Router.
				'router'

// Get the whole application started.
], function(app, Router) {
    'use strict';

	// Create our router and
	// attach it to the app.
	app.router = new Router();

	// Use hash urls for prototyping
	// This way we can just use a simple HTTP server
	Backbone.history.start({ pushState: false, root: app.root });

	// Relative links will be navigated
	// through the Backbone router.
	// If the link has a `data-bypass` attr,
	// this special behavior will be ignored.
	$(document).on('click', 'a[href]:not([data-bypass]):not([target="_blank"])', function(evt) {
		var href = {
			prop: $(this).prop('href'),
			attr: $(this).attr('href')
		};

		var root = location.protocol + '//' + location.host + app.root;

		// Check if the link is relative
		if (href.prop.slice(0, root.length) === root) {
			evt.preventDefault();
			Backbone.history.navigate(href.attr, true);
		}
	});
});

{'fraction_non_alphanumeric': 0.16456335184250379, 'fraction_numerical': 0.0010095911155981827, 'mean_word_length': 3.0950413223140494, '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': '890263', 'n_tokens_mistral': 706, 'n_tokens_neox': 639, 'n_words': 195}