From 5516fbf1d7e7ae6a9540a56ac4ddbb18cc0250c3 Mon Sep 17 00:00:00 2001 From: ZYSzys <17367077526@163.com> Date: Sat, 17 Nov 2018 12:50:04 +0800 Subject: [PATCH] http2: order declarations in http2.js PR-URL: https://github.com/nodejs/node/pull/24411 Reviewed-By: Sam Roberts Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Anna Henningsen --- lib/http2.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/http2.js b/lib/http2.js index 1f770ff4c734cd..c3ecd82072ee53 100644 --- a/lib/http2.js +++ b/lib/http2.js @@ -1,25 +1,25 @@ 'use strict'; const { + connect, constants, + createServer, + createSecureServer, getDefaultSettings, getPackedSettings, getUnpackedSettings, - createServer, - createSecureServer, - connect, Http2ServerRequest, Http2ServerResponse } = require('internal/http2/core'); module.exports = { + connect, constants, + createServer, + createSecureServer, getDefaultSettings, getPackedSettings, getUnpackedSettings, - createServer, - createSecureServer, - connect, - Http2ServerResponse, - Http2ServerRequest + Http2ServerRequest, + Http2ServerResponse };