mirror of
https://github.com/ariya/phantomjs.git
synced 2024-09-11 04:46:09 +03:00
Strict mode forbids implicit creation of global property (#14411)
This commit is contained in:
parent
95fdce45b9
commit
915b69224d
@ -13,7 +13,7 @@ if (system.args.length !== 2) {
|
|||||||
|
|
||||||
var port = system.args[1];
|
var port = system.args[1];
|
||||||
|
|
||||||
service = server.listen(port, function (request, response) {
|
var service = server.listen(port, function (request, response) {
|
||||||
console.log('Request received at ' + new Date());
|
console.log('Request received at ' + new Date());
|
||||||
|
|
||||||
response.statusCode = 200;
|
response.statusCode = 200;
|
||||||
|
Loading…
Reference in New Issue
Block a user