summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-03-13 13:21:21 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-03-13 12:29:33 -0800
commitd2ec5c23cf14dda7c214d87ae5c9b34e2e0b18e4 (patch)
tree601b85e9047262e89c8ed704200ce760940bdd00
parentffeb4722d48898a26739934b60afa9feeff1de08 (diff)
downloadnode-d2ec5c23cf14dda7c214d87ae5c9b34e2e0b18e4.tar.gz
Fixed typo in comment for require.registerExtension().
-rw-r--r--src/node.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.js b/src/node.js
index 7b952fd53..0d08a7000 100644
--- a/src/node.js
+++ b/src/node.js
@@ -630,7 +630,7 @@ function loadModule (request, parent, callback) {
// This function allows the user to register file extensions to custom
// Javascript 'compilers'. It accepts 2 arguments, where ext is a file
// extension as a string. E.g. '.coffee' for coffee-script files. compiler
-// is the second argument, which is a function that gets called then the
+// is the second argument, which is a function that gets called when the
// specified file extension is found. The compiler is passed a single
// argument, which is, the file contents, which need to be compiled.
//