Commit e3ff5ff4 authored by Mike Greiling's avatar Mike Greiling

ensire u2f object is accessible in a commonJS environment

parent 707bcbba
...@@ -746,3 +746,5 @@ u2f.getApiVersion = function(callback, opt_timeoutSeconds) { ...@@ -746,3 +746,5 @@ u2f.getApiVersion = function(callback, opt_timeoutSeconds) {
port.postMessage(req); port.postMessage(req);
}); });
}; };
window.u2f || (window.u2f = u2f);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment