Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarleonnogales committed Nov 7, 2023
1 parent f3cb2e4 commit dd71c3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ npm install --save @braintree/asset-loader

```js
import { loadScript } from "@braintree/asset-loader";
// Or, var loadScript = require("@braintree/asset-loader).loadScript;

loadScript({
src: "https://example.com/some-js-file.js",
Expand All @@ -36,6 +37,7 @@ loadScript({

```js
import { loadStylesheet } from "@braintree/asset-loader";
// Or, var loadStylesheet = require("@braintree/asset-loader).loadStylesheet;

loadStylesheet({
href: "https://example.com/some-css-file.css",
Expand Down

0 comments on commit dd71c3f

Please sign in to comment.