Skip to content

Instantly share code, notes, and snippets.

@suresh-kumara-gist
Created November 7, 2017 16:33
Show Gist options
  • Save suresh-kumara-gist/f4a2e1095810d15a64e0778bf5abffcd to your computer and use it in GitHub Desktop.
Save suresh-kumara-gist/f4a2e1095810d15a64e0778bf5abffcd to your computer and use it in GitHub Desktop.
how to load remote js in drupal 8
braintree-hosted-fields:
remote: https://github.com/braintree/braintree-web
version: "3.19.1"
license:
name: MIT
url: https://github.com/braintree/braintree-web/blob/3.19.1/LICENSE
gpl-compatible: true
js:
"https://js.braintreegateway.com/web/3.19.1/js/hosted-fields.min.js": { minified: true }
dependencies:
- commerce_braintree/braintree
@suresh-kumara-gist
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment