Node.js: renamed "require_shim" to "loader".
This commit is contained in:
4
test/node/loader/unit_http/app.js
Normal file
4
test/node/loader/unit_http/app.js
Normal file
@@ -0,0 +1,4 @@
|
||||
require("unit-http").createServer(function (req, res) {
|
||||
res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
|
||||
.end('Hello World\n');
|
||||
}).listen(7080);
|
||||
Reference in New Issue
Block a user