Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
docs: fix require syntax for importing javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaangandhi authored Dec 28, 2020
1 parent eb638a4 commit b2f0fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/importing-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const MDCFooFoundation = mdcFoo.MDCFooFoundation;
### AMD

```js
require(['path/to/mdc-foo'], mdcFoo => {
require(['path/to/@material/foo'], mdcFoo => {
const MDCFoo = mdcFoo.MDCFoo;
const MDCFooFoundation = mdcFoo.MDCFooFoundation;
});
Expand Down

0 comments on commit b2f0fdf

Please sign in to comment.