<commit_before>namespace $ {
	
	export class $mol_webdav extends $mol_http {
		
		@ $mol_mem_key()
		static item( uri : string ) {
			return this.make({
				uri : $mol_const( uri ) ,
			})
		}
		
		@ $mol_mem()
		data_tree() {
			const dom = this.response().responseXML as XMLDocument
			const responses = dom.querySelectorAll( 'response' ) as any as Element[]
			
			const data = {} as { [ uri : string ] : Element }
			
			for( let response of responses ) {
				const uri = this.resolve( response.querySelector( 'href' ).textContent ).uri()
				
				data[ uri ] = response
			}
			
			return data
		}
		
		data_self() {
			return this.parent().data_tree()
		}
		
		parent() {
			return $mol_webdav.item( this.uri().replace( /\/[^\/]*\/?$/ , '/' ) )
		}
		
		@ $mol_mem()
		sub() {
			const next = [] as $mol_webdav[]
			for( let uri in this.data_tree() ) {
				if( uri == this.uri() ) continue
				next.push( $mol_webdav.item( uri ) )
			}<commit_msg>Fixed iteration over object keys in ie. Buggy Proxy support. #199<commit_after>namespace $ {
	
	export class $mol_webdav extends $mol_http {
		
		@ $mol_mem_key()
		static item( uri : string ) {
			return this.make({
				uri : $mol_const( uri ) ,
			})
		}
		
		@ $mol_mem()
		data_tree() {
			const dom = this.response().responseXML as XMLDocument
			const responses = dom.querySelectorAll( 'response' ) as any as Element[]
			
			const data = {} as { [ uri : string ] : Element }
			
			for( let response of responses ) {
				const uri = this.resolve( response.querySelector( 'href' ).textContent ).uri()
				
				data[ uri ] = response
			}
			
			return data
		}
		
		data_self() {
			return this.parent().data_tree()
		}
		
		parent() {
			return $mol_webdav.item( this.uri().replace( /\/[^\/]*\/?$/ , '/' ) )
		}
		
		@ $mol_mem()
		sub() {
			const next = [] as $mol_webdav[]
			for( let uri of Object.keys( this.data_tree() ) ) {
				if( uri == this.uri() ) continue
				next.push( $mol_webdav.item( uri ) )
			}
{'fraction_non_alphanumeric': 0.15813482007095794, 'fraction_numerical': 0.0015205271160669033, 'mean_word_length': 2.5, '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': '1307003', 'n_tokens_mistral': 861, 'n_tokens_neox': 667, 'n_words': 169}