Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 8afb735

Browse files
author
Mike Nikles
committed
Apply Jeremy's feedback about module definitions
1 parent 92caa10 commit 8afb735

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

javascript/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ functionThatReturnsAPromise()
511511
When building a module that can be consumed by a number of different sources, we prefer
512512
to use [Universal Module Definition (UMD)](https://github.com/umdjs/umd), so that the
513513
module will be compatible with AMD, CommonJS, or plain script inclusion.
514+
For modules that are not shared across projects, UMD is not required.
514515

515516
For example:
516517

@@ -536,4 +537,4 @@ For example:
536537
```
537538

538539
If it's not intended to be used in multiple sources (for example if it's a project-specific
539-
utils file), please follow the module definition that the project follows.
540+
utils file), please follow the module definition that the project follows.

0 commit comments

Comments
 (0)