<commit_before>(function($){

	$.fn.responav = function(options) {

		var settings = $.extend({
			breakpoint : 720,
			trigger : true
		}, options);

		var menu = $(this);
		var hasTrigger = false;

		$(window).on('resize.responav', function () {
			var browserWidth = $(window).width();
			if (browserWidth < settings.breakpoint) {
				$('body').addClass('responav-active');
				menu.addClass('responav-menu');
				if (!hasTrigger && settings.trigger) {
					$('.responav-inner').prepend('<button class="responav-trigger" id="responav-trigger"></button>');
					hasTrigger = true;
				}
			} else {
				$('body').removeClass('responav-active');
				menu.removeClass('responav-menu');
				if (hasTrigger) {
					$('#responav-trigger').remove();
					hasTrigger = false;
				}
			}
		}).trigger('resize');

		$(document).on('click.responav touchstart.responav', '#responav-trigger', function(event) {
			$('body').toggleClass('responav-open');
			$(document).one(event.type, function() {
				$('body').removeClass('responav-open');
			});
			return false;
		});

		menu.on("click touchstart", function(e) {
			e.stopPropagation();
		});

		return this;
	};
})($);<commit_msg>Remove the outer function<commit_after>$.fn.responav = function(options) {

	var settings = $.extend({
		breakpoint : 720,
		trigger : true
	}, options);

	var menu = $(this);
	var hasTrigger = false;

	$(window).on('resize.responav', function () {
		var browserWidth = $(window).width();
		if (browserWidth < settings.breakpoint) {
			$('body').addClass('responav-active');
			menu.addClass('responav-menu');
			if (!hasTrigger && settings.trigger) {
				$('.responav-inner').prepend('<button class="responav-trigger" id="responav-trigger"></button>');
				hasTrigger = true;
			}
		} else {
			$('body').removeClass('responav-active');
			menu.removeClass('responav-menu');
			if (hasTrigger) {
				$('#responav-trigger').remove();
				hasTrigger = false;
			}
		}
	}).trigger('resize');

	$(document).on('click.responav touchstart.responav', '#responav-trigger', function(event) {
		$('body').toggleClass('responav-open');
		$(document).one(event.type, function() {
			$('body').removeClass('responav-open');
		});
		return false;
	});

	menu.on("click.responav touchstart.responav", function(e) {
		e.stopPropagation();
	});

	return this;
};
{'fraction_non_alphanumeric': 0.20637656182679878, 'fraction_numerical': 0.0025850926324859974, 'mean_word_length': 4.047826086956522, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '6288176', 'n_tokens_mistral': 866, 'n_tokens_neox': 771, 'n_words': 122}