/
requirejs-config.js
24 lines (23 loc) · 1.39 KB
/
requirejs-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
* Config to pull in all the relevant Braintree JS SDKs
* @type {{paths: {braintreePayPalCheckout: string, braintreeHostedFields: string, braintreeDataCollector: string, braintreeThreeDSecure: string, braintreeGooglePay: string, braintreeApplePay: string, googlePayLibrary: string}, map: {"*": {braintree: string}}}}
*/
var config = {
map: {
'*': {
braintree: 'https://js.braintreegateway.com/web/3.51.0/js/client.min.js',
}
},
paths: {
"braintreePayPalCheckout": "https://js.braintreegateway.com/web/3.51.0/js/paypal-checkout.min",
"braintreeHostedFields": "https://js.braintreegateway.com/web/3.51.0/js/hosted-fields.min",
"braintreeDataCollector": "https://js.braintreegateway.com/web/3.51.0/js/data-collector.min",
"braintreeThreeDSecure": "https://js.braintreegateway.com/web/3.51.0/js/three-d-secure.min",
"braintreeApplePay": 'https://js.braintreegateway.com/web/3.51.0/js/apple-pay.min',
"braintreeGooglePay": 'https://js.braintreegateway.com/web/3.51.0/js/google-payment.min',
"braintreeVenmo": 'https://js.braintreegateway.com/web/3.51.0/js/venmo.min',
"braintreeAch": "https://js.braintreegateway.com/web/3.51.0/js/us-bank-account.min",
"braintreeLpm": "https://js.braintreegateway.com/web/3.51.0/js/local-payment.min",
"googlePayLibrary": "https://pay.google.com/gp/p/js/pay"
}
};