diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-02-07 11:23:23 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-02-07 11:23:23 +0100 |
commit | 9f10b2928df655c3672d9607e864e667d4bc903a (patch) | |
tree | 7743911b974b3a7fb0d4c7cec2a723942466b7f1 /middlewares/index.js | |
parent | d7c01e7793d813d804a3b5716d8288f9dcf71a16 (diff) | |
download | PeerTube-9f10b2928df655c3672d9607e864e667d4bc903a.tar.gz PeerTube-9f10b2928df655c3672d9607e864e667d4bc903a.tar.zst PeerTube-9f10b2928df655c3672d9607e864e667d4bc903a.zip |
Remove useless anonymous functions of files
Diffstat (limited to 'middlewares/index.js')
-rw-r--r-- | middlewares/index.js | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/middlewares/index.js b/middlewares/index.js index bfe325b1e..c76c4fc2e 100644 --- a/middlewares/index.js +++ b/middlewares/index.js | |||
@@ -1,13 +1,11 @@ | |||
1 | ;(function () { | 1 | 'use strict' |
2 | 'use strict' | ||
3 | 2 | ||
4 | var middlewares = { | 3 | var middlewares = { |
5 | cache: require('./cache'), | 4 | cache: require('./cache'), |
6 | reqValidators: require('./reqValidators'), | 5 | reqValidators: require('./reqValidators'), |
7 | secure: require('./secure') | 6 | secure: require('./secure') |
8 | } | 7 | } |
9 | 8 | ||
10 | // --------------------------------------------------------------------------- | 9 | // --------------------------------------------------------------------------- |
11 | 10 | ||
12 | module.exports = middlewares | 11 | module.exports = middlewares |
13 | })() | ||