adding propagationDelay property to returned object in _normalizeChallenge #50
@ -146,7 +146,7 @@ P._normalizeChallenge = function(name, ch) {
 | 
				
			|||||||
        };
 | 
					        };
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // init, zones, set, get, remove
 | 
					    // init, zones, set, get, remove, propagationDelay
 | 
				
			||||||
    if (ch.init) {
 | 
					    if (ch.init) {
 | 
				
			||||||
        if (2 === ch.init.length) {
 | 
					        if (2 === ch.init.length) {
 | 
				
			||||||
            warn();
 | 
					            warn();
 | 
				
			||||||
@ -183,6 +183,9 @@ P._normalizeChallenge = function(name, ch) {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        gch.get = wrappy(ch.get);
 | 
					        gch.get = wrappy(ch.get);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    if("number" === typeof ch.propagationDelay) {
 | 
				
			||||||
 | 
					        gch.propagationDelay = ch.propagationDelay;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return gch;
 | 
					    return gch;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user