mirror of
				https://github.com/reality/dbot.git
				synced 2025-11-04 12:57:31 +01:00 
			
		
		
		
	Add braces around withAll
This commit is contained in:
		
							parent
							
								
									ebdd2199c7
								
							
						
					
					
						commit
						33501c44ea
					
				@ -165,9 +165,11 @@ Object.prototype.isArray = function(obj) {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
Object.prototype.withAll = function(fun) {
 | 
			
		||||
    for(key in this)
 | 
			
		||||
        if(this.hasOwnProperty(key))
 | 
			
		||||
    for(key in this) {
 | 
			
		||||
        if(this.hasOwnProperty(key)){
 | 
			
		||||
            fun(key, this[key]);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
Object.prototype.length = function() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user