ensire u2f object is accessible in a commonJS environment
This commit is contained in:
parent
707bcbba4b
commit
e3ff5ff426
|
@ -745,4 +745,6 @@ u2f.getApiVersion = function(callback, opt_timeoutSeconds) {
|
||||||
};
|
};
|
||||||
port.postMessage(req);
|
port.postMessage(req);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
window.u2f || (window.u2f = u2f);
|
||||||
|
|
Loading…
Reference in New Issue