summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-04-30 07:40:43 -0700
committerisaacs <i@izs.me>2013-04-30 07:40:43 -0700
commitdda7b402044a4ecde60baf386cb54997fbd570a1 (patch)
treee8684b821058a893d491df70f1f58772d9a19b4b
parent4fdb8acdaef4c3cb1d855e992ada0e63fee520a6 (diff)
downloadnode-dda7b402044a4ecde60baf386cb54997fbd570a1.tar.gz
doc: Fix require.extensions documentation
1. The stability index must come first, or it messes up the markdown 2. require.extensions is an Object, not an Array. Close #5387
-rw-r--r--doc/api/globals.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/globals.markdown b/doc/api/globals.markdown
index c0ff6b560..bc2996b71 100644
--- a/doc/api/globals.markdown
+++ b/doc/api/globals.markdown
@@ -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`: