summaryrefslogtreecommitdiff
path: root/benchmark/static_http_server.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2009-10-25 22:51:10 +0100
committerRyan Dahl <ry@tinyclouds.org>2009-10-25 22:51:57 +0100
commit04e53cab90d14ee668e7e63e54a8ef9f4a8b564d (patch)
treeea0b403d10bdbd3d4ecc447b92b55797062af584 /benchmark/static_http_server.js
parent4bcb01c8bf6ec1074592a691cbadd2dc50ead35a (diff)
downloadnode-new-04e53cab90d14ee668e7e63e54a8ef9f4a8b564d.tar.gz
Rename node.libraryPaths to require.paths
to be more inline with CommonJS.
Diffstat (limited to 'benchmark/static_http_server.js')
-rw-r--r--benchmark/static_http_server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/static_http_server.js b/benchmark/static_http_server.js
index 3ce04997f0..1866051106 100644
--- a/benchmark/static_http_server.js
+++ b/benchmark/static_http_server.js
@@ -1,5 +1,5 @@
libDir = node.path.join(node.path.dirname(__filename), "../lib");
-node.libraryPaths.unshift(libDir);
+require.paths.unshift(libDir);
http = require("/http.js");
var concurrency = 30;
var port = 8000;