webrtcsupport
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -10,3 +10,3 @@ // created by @HenrikJoreteg | ||
prefix = 'webkit'; | ||
version = parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2], 10); | ||
version = navіgator.userAgent.match(/Chrom(e|ium)/) && parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2], 10); | ||
} | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "webrtcsupport", | ||
"description": "Browser module to detect support for webrtc and extract proper constructors.", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -6,0 +6,0 @@ "browser": "index-browser.js", |
@@ -9,4 +9,2 @@ # webrtcsupport | ||
If you're not using browserify or you want AMD support use `webrtcsupport.bundle.js`. | ||
This tiny module is used by [SimpleWebRTC](https://simplewebrtc.com), but obviously can be used by itself. | ||
@@ -13,0 +11,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6131
54