Skip to content

Commit

Permalink
doc: Fix require.extensions documentation
Browse files Browse the repository at this point in the history
1. The stability index must come first, or it messes up the markdown
2. require.extensions is an Object, not an Array.

Close nodejs#5387
  • Loading branch information
isaacs committed Apr 30, 2013
1 parent 4fdb8ac commit dda7b40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/globals.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ value from this object, the next `require` will reload the module.

### require.extensions

* {Array}

Stability: 0 - Deprecated

* {Object}

Instruct `require` on how to handle certain file extensions.

Process files with the extension `.sjs` as `.js`:
Expand Down

0 comments on commit dda7b40

Please sign in to comment.