ensire u2f object is accessible in a commonJS environment

This commit is contained in:
Mike Greiling 2017-01-09 13:17:48 -06:00
parent 707bcbba4b
commit e3ff5ff426
1 changed files with 3 additions and 1 deletions

View File

@ -746,3 +746,5 @@ u2f.getApiVersion = function(callback, opt_timeoutSeconds) {
port.postMessage(req);
});
};
window.u2f || (window.u2f = u2f);