Mirror von
https://github.com/therootcompany/greenlock.js.git
synchronisiert 2024-11-16 17:29:00 +00:00
adding propagationDelay property to returned object in _normalizeChallenge
Dieser Commit ist enthalten in:
Ursprung
6dc711b880
Commit
1a60d53c32
@ -146,7 +146,7 @@ P._normalizeChallenge = function(name, ch) {
|
||||
};
|
||||
}
|
||||
|
||||
// init, zones, set, get, remove
|
||||
// init, zones, set, get, remove, propagationDelay
|
||||
if (ch.init) {
|
||||
if (2 === ch.init.length) {
|
||||
warn();
|
||||
@ -183,6 +183,9 @@ P._normalizeChallenge = function(name, ch) {
|
||||
}
|
||||
gch.get = wrappy(ch.get);
|
||||
}
|
||||
if("number" === typeof ch.propagationDelay) {
|
||||
gch.propagationDelay = ch.propagationDelay;
|
||||
}
|
||||
|
||||
return gch;
|
||||
};
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren