Use window.log in browser context, turn on console eslint rule
This commit is contained in:
		
					parent
					
						
							
								4320b125dd
							
						
					
				
			
			
				commit
				
					
						5933a34a18
					
				
			
		
					 71 changed files with 816 additions and 559 deletions
				
			
		| 
						 | 
				
			
			@ -15,7 +15,7 @@
 | 
			
		|||
      return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    console.log('adding', number, 'to blocked list');
 | 
			
		||||
    window.log.info('adding', number, 'to blocked list');
 | 
			
		||||
    storage.put('blocked', numbers.concat(number));
 | 
			
		||||
  };
 | 
			
		||||
  storage.removeBlockedNumber = number => {
 | 
			
		||||
| 
						 | 
				
			
			@ -24,7 +24,7 @@
 | 
			
		|||
      return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    console.log('removing', number, 'from blocked list');
 | 
			
		||||
    window.log.info('removing', number, 'from blocked list');
 | 
			
		||||
    storage.put('blocked', _.without(numbers, number));
 | 
			
		||||
  };
 | 
			
		||||
})();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue