mirror of
https://github.com/nodejs/node.git
synced 2026-12-03 18:03:02 -05:00
Lint all the JavaScripts.
This commit is contained in:
1 parent
31721da4b1
commit
0cdf85e28d
61 files changed
+749
-542
No files matched your search
+2
-2
@@ -55,12 +55,12 @@ function createConnection(port, host, options) {
|
||||
options.port = port;
|
||||
options.host = host;
|
||||
return tls.connect(options);
|
||||
};
|
||||
}
|
||||
|
||||
function Agent(options) {
|
||||
http.Agent.call(this, options);
|
||||
this.createConnection = createConnection;
|
||||
};
|
||||
}
|
||||
inherits(Agent, http.Agent);
|
||||
Agent.prototype.defaultPort = 443;
|
||||
|
||||
|
||||
Reference in new issue
Block a user