Add style and script for bitbucket
This commit is contained in:
		
							parent
							
								
									fb3fb570c8
								
							
						
					
					
						commit
						78ebee2cf2
					
				
					 3 changed files with 1088 additions and 498 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,6 @@
 | 
			
		|||
	const domLoaded = function domLoaded(){
 | 
			
		||||
		document.removeEventListener("readystatechange",domLoaded);
 | 
			
		||||
		document.querySelectorAll("li").forEach(li => {
 | 
			
		||||
			console.log(li);
 | 
			
		||||
			if( li.innerHTML.indexOf( '[' ) !== -1 ){
 | 
			
		||||
				li.innerHTML = li.innerHTML.replace(/\[ \]/g, '☐');
 | 
			
		||||
				li.innerHTML = li.innerHTML.replace(/\[x\]/g, '☒');
 | 
			
		||||
| 
						 | 
				
			
			@ -10,7 +9,6 @@
 | 
			
		|||
		} );
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	console.log("I get here");
 | 
			
		||||
	if(document.readyState == "loading"){
 | 
			
		||||
 | 
			
		||||
		//If the dom hasn't loaded, wait until it is
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue