allow loading plugins from external cdn

pull/488/merge
nightwing 2018-03-23 01:19:17 +04:00
rodzic 904c80f4e9
commit c4586ace1a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ var auth = global.auth = function(options) {
function noop(callback) { callback(); } function noop(callback) { callback(); }
if (onLoad) { if (onLoad) {
auth.parallel([ auth.parallel([].concat(
background, background,
auth.serial([ auth.serial([
auth.parallel([ auth.parallel([
@ -31,7 +31,7 @@ var auth = global.auth = function(options) {
]), ]),
authorized, authorized,
]) ])
])(done); ))(done);
} }
function login(callback, errback) { function login(callback, errback) {