Fixed typo in comment for require.registerExtension().
authorScott González <scott.gonzalez@gmail.com>
Sat, 13 Mar 2010 20:21:21 +0000 (13:21 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Sat, 13 Mar 2010 20:29:33 +0000 (12:29 -0800)
src/node.js

index 7b952fd53e0859fa3ccade24d01197d8e7f48bb0..0d08a700097b2d885e59758beb0e2a2b7d2854cf 100644 (file)
@@ -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.
 //