Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Commit

Permalink
util -> utils
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Jan 22, 2011
1 parent f8be8f3 commit ce2fc50
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -11,7 +11,7 @@ for (var i = 0, il = list.length; i < il; i++) {

if ('.js' !== path.extname(file) ||
file === 'index.js' ||
file === 'util.js') {
file === 'utils.js') {
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion send.js
@@ -1,4 +1,4 @@
var util = require('./util');
var util = require('./utils');

module.exports = function (statusCode, headers) {
statusCode = statusCode || 200;
Expand Down
2 changes: 1 addition & 1 deletion sendfile.js
@@ -1,7 +1,7 @@
var path = require('path'),
fs = require('fs'),
url = require('url'),
utils = require('./util'),
utils = require('./utils'),
FreeList = require('freelist').FreeList,
IOWatcher = process.binding('io_watcher').IOWatcher,
constants = require('constants'),
Expand Down
2 changes: 1 addition & 1 deletion static.js
Expand Up @@ -2,7 +2,7 @@
var path = require('path'),
fs = require('fs'),
url = require('url'),
utils = require('./util'),
utils = require('./utils'),
sys = require('sys');

module.exports = function (dir, prefix) {
Expand Down
2 changes: 1 addition & 1 deletion util.js → utils.js
@@ -1,5 +1,5 @@
// Note to contributers.
// Feel free to add util methods if you feel they are valuable.
// Feel free to add utils methods if you feel they are valuable.

// This pump doesn't close the write stream, so you can end the writable whenever
exports.pump = function pump (readable, writable, cb) {
Expand Down

0 comments on commit ce2fc50

Please sign in to comment.