Browse Source

Fixed typo in comment for require.registerExtension().

v0.7.4-release
Scott González 15 years ago
committed by Ryan Dahl
parent
commit
d2ec5c23cf
  1. 2
      src/node.js

2
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.
//

Loading…
Cancel
Save