Commit e3ff5ff4 authored by Mike Greiling's avatar Mike Greiling

ensire u2f object is accessible in a commonJS environment

parent 707bcbba
...@@ -745,4 +745,6 @@ u2f.getApiVersion = function(callback, opt_timeoutSeconds) { ...@@ -745,4 +745,6 @@ u2f.getApiVersion = function(callback, opt_timeoutSeconds) {
}; };
port.postMessage(req); port.postMessage(req);
}); });
}; };
\ No newline at end of file
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