Browser Detection
A utility for detecting browser support for Braintree libs.
Example
var browserDetection = ; browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;browserDetection;
To reduce build sizes, you can require just the modules you need:
var isAndroid = ;var isChrome = ;var isEdge = ;var isIe = ;var isIe9 = ;var isIe10 = ;var isIe11 = ;var isIos = ;var isIosFirefox = ;var isIosSafari = ;var isIosWebview = ;var isIosUIWebview = ;var isIosWKWebview = ;var isMobileFirefox = ;var isSamsungBrowser = ;var suportsPaymentRequestApi = ;var supportsPopups = ;
Testing
npm test