1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

u2f connector frame

This commit is contained in:
Kyle Spearrin
2017-06-26 14:49:20 -04:00
parent bc988181f9
commit 74d8e595f2
4 changed files with 134 additions and 2 deletions

View File

@@ -18,6 +18,12 @@
*/
var u2f = u2f || {};
/**
* Modification:
* Check if browser supports U2F API before this wrapper was added.
*/
u2f.isSupported = ((typeof u2f !== 'undefined') && u2f.register) || (chrome && chrome.runtime);
/**
* FIDO U2F Javascript API Version
* @number