From 95330cc39ddb85c954bc604adec3d87ab1720638 Mon Sep 17 00:00:00 2001 From: Damian Mee Date: Tue, 5 Aug 2014 01:14:41 +0200 Subject: [PATCH] style(exports): module.exports moved to the top of a file --- lib/routes.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/routes.js b/lib/routes.js index 780dfcc2..7a162d28 100644 --- a/lib/routes.js +++ b/lib/routes.js @@ -4,6 +4,11 @@ var _trader; var _lamassuConfig; var logger = require('./logger'); +module.exports = { + init: init, + getFingerprint: getFingerprint +}; + // Make sure these are higher than polling interval // or there will be a lot of errors var STALE_TICKER = 180000; @@ -105,8 +110,3 @@ function getFingerprint(req) { return typeof req.connection.getPeerCertificate === 'function' && req.connection.getPeerCertificate().fingerprint; }; - -module.exports = { - init: init, - getFingerprint: getFingerprint -};