<commit_before>(function($) {

	$.entwine('ss.tree', function($){
		$('.cms-tree').entwine({
			onadd: function(){
				var self = this;
				$(document).on('context_show.vakata', function(){
					self.adjustContextClass(this);
				});

				this._super();
			},
			/*
			 * Add and remove classes from context menus to allow for
			 * adjusting the display
			 */
			adjustContextClass: function(){
				var menus = $('#vakata-contextmenu').find("ul ul");<commit_msg>Fixed fromDocument usage in .cms-tree<commit_after>(function($) {

	$.entwine('ss.tree', function($){
		$('.cms-tree').entwine({
			fromDocument: {
				'oncontext_show.vakata': function(e){
					this.adjustContextClass();
				}
			},
			/*
			 * Add and remove classes from context menus to allow for
			 * adjusting the display
			 */
			adjustContextClass: function(){
				var menus = $('#vakata-contextmenu').find("ul ul");
{'fraction_non_alphanumeric': 0.17415730337078653, 'fraction_numerical': 0.0, 'mean_word_length': 3.346341463414634, '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': '6170201', 'n_tokens_mistral': 350, 'n_tokens_neox': 265, 'n_words': 62}