Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ec033e

Browse files
committed
Update CMD specification
1 parent 7747d94 commit 3ec033e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

draft/module.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ This specification addresses how modules should be written in order to be intero
77
- Modules are singletons.
88
- New free variables within the module scope should not be introduced.
99
- Execution must be lazy.
10-
- With some care, modules may have cyclic dependencies.
1110

1211

1312

@@ -53,10 +52,6 @@ define(function(require, exports, module) {
5352
1. The callback function receives module exports as function arguments, listed in the same order as the order in the first argument.
5453
1. If requested module cannot be returned, the callback should receive null correspondingly.
5554

56-
1. `require.resolve` is a function (*Optional*)
57-
58-
1. `require.resolve` accepts a module identifier.
59-
1. `require.resolve` returns the absolute path of the module.
6055

6156

6257
### The `exports` Object

0 commit comments

Comments
 (0)