diff options
author | Jonathan Ong <jonathanrichardong@gmail.com> | 2015-01-27 20:08:43 -0800 |
---|---|---|
committer | Stephen Belanger <sbelanger@appneta.com> | 2015-02-02 14:52:02 -0800 |
commit | 3e67d7e46b80c90faa360d1d0e44dacc444e8e4f (patch) | |
tree | c8885f226f5cad7580107b7a5bad499c50e95880 /lib/http.js | |
parent | 89dd8e062f462106a6f7d3e92e9d18906445f851 (diff) | |
download | android-node-v8-3e67d7e46b80c90faa360d1d0e44dacc444e8e4f.tar.gz android-node-v8-3e67d7e46b80c90faa360d1d0e44dacc444e8e4f.tar.bz2 android-node-v8-3e67d7e46b80c90faa360d1d0e44dacc444e8e4f.zip |
http: replace util._extend() with [].slice()
PR-URL: https://github.com/iojs/io.js/pull/634
Reviewed-BY: Nicu Micleușanu <micnic90@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Diffstat (limited to 'lib/http.js')
-rw-r--r-- | lib/http.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.js b/lib/http.js index 9b23ada063..a9cfeddeea 100644 --- a/lib/http.js +++ b/lib/http.js @@ -8,7 +8,7 @@ exports.IncomingMessage = require('_http_incoming').IncomingMessage; const common = require('_http_common'); -exports.METHODS = util._extend([], common.methods).sort(); +exports.METHODS = common.methods.slice().sort(); exports.OutgoingMessage = require('_http_outgoing').OutgoingMessage; |