1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

Removed requirement to load JavaScript from js.braintreegateway.com (#259)

* Removed requirement to load JavaScript from js.braintreegateway.com

* Moved braintree-web-drop-in from a devDependencies to dependencies per code review.
This commit is contained in:
Daniel
2018-09-11 21:40:56 +00:00
committed by Kyle Spearrin
parent 335e0dd575
commit 188ac5051a
4 changed files with 96 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ export class PaymentComponent implements OnInit {
this.platformUtilsService.isDev() ? Keys.stripeTest : Keys.stripeLive);
};
this.btScript = window.document.createElement('script');
this.btScript.src = 'https://js.braintreegateway.com/web/dropin/1.12.0/js/dropin.min.js';
this.btScript.src = 'scripts/dropin.js';
this.btScript.async = true;
this.cardExpMonthOptions = [