<commit_before>declare class WeakMap< Key , Value > {
	get( key : Key ) : Value
	set( key : Key , value : Value ) : this
}

namespace $ {
	
	export class $mol_view_dom extends $mol_object {
		
		static nodes = new ( WeakMap || $mol_dict )< $mol_view , Element >()
		
		static node( view : $mol_view ) {
			let node = $mol_view_dom.nodes.get( view )
			if( !node ) {
				node = $mol_dom_make(
					{
						localName : view.dom_name() ,
						namespaceURI : view.dom_name_space() ,
					}
				)
				$mol_view_dom.mount( view , node )
			}
			return node
		}
		
		static mount( view : $mol_view , node : Element ) {
			$mol_view_dom.nodes.set( view , node )
			
			$mol_dom_render(
				node , {
					id : view.toString() ,
					attributes : view.attr_static() ,
					events : view.event_wrapped() ,
				}
			)
			
			for( let plugin of view.plugins() ) {
				$mol_view_dom.nodes.set( plugin , node )
				$mol_dom_render(
					node , {
						attributes : plugin.attr_static() ,
						events : plugin.event_wrapped() ,
					}
				)
			}
			
			return node
		}
		
	}
	
}<commit_msg>Disable atom task wrapping of all event handlers.<commit_after>declare class WeakMap< Key , Value > {
	get( key : Key ) : Value
	set( key : Key , value : Value ) : this
}

namespace $ {
	
	export class $mol_view_dom extends $mol_object {
		
		static nodes = new ( WeakMap || $mol_dict )< $mol_view , Element >()
		
		static node( view : $mol_view ) {
			let node = $mol_view_dom.nodes.get( view )
			if( !node ) {
				node = $mol_dom_make(
					{
						localName : view.dom_name() ,
						namespaceURI : view.dom_name_space() ,
					}
				)
				$mol_view_dom.mount( view , node )
			}
			return node
		}
		
		static mount( view : $mol_view , node : Element ) {
			$mol_view_dom.nodes.set( view , node )
			
			$mol_dom_render(
				node , {
					id : view.toString() ,
					attributes : view.attr_static() ,
					events : view.event() ,
				}
			)
			
			for( let plugin of view.plugins() ) {
				$mol_view_dom.nodes.set( plugin , node )
				$mol_dom_render(
					node , {
						attributes : plugin.attr_static() ,
						events : plugin.event() ,
					}
				)
			}
			
			return node
		}
		
	}
	
}
{'fraction_non_alphanumeric': 0.12845303867403315, 'fraction_numerical': 0.0, 'mean_word_length': 2.219259259259259, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4463398', 'n_tokens_mistral': 1032, 'n_tokens_neox': 756, 'n_words': 171}