pad.libre-service.eu-etherpad/src/node/hooks/express
muxator 9497ee734f prepare to async: trivial reformatting
This change is only cosmetic. Its aim is do make it easier to understand the
async changes that are going to be merged later on. It was extracted from the
original work from Ray Bellis.

To verify that nothing has changed, you can run the following command on each
file touched by this commit:
  npm install uglify-es
  diff --unified <(uglify-js --beautify bracketize <BEFORE.js>) <(uglify-js --beautify bracketize <AFTER.js>)



This is a complete script that does the same automatically (works from a
mercurial clone):

```bash
#!/usr/bin/env bash

set -eu

REVISION=<THIS_REVISION>

PARENT_REV=$(hg identify --rev "${REVISION}" --template '{p1rev}')
FILE_LIST=$(hg status --no-status --change ${REVISION})
UGLIFYJS="node_modules/uglify-es/bin/uglifyjs"

for FILE_NAME in ${FILE_LIST[@]}; do
  echo "Checking ${FILE_NAME}"
  diff --unified \
    <("${UGLIFYJS}" --beautify bracketize <(hg cat --rev "${PARENT_REV}" "${FILE_NAME}")) \
    <("${UGLIFYJS}" --beautify bracketize <(hg cat --rev "${REVISION}"   "${FILE_NAME}"))
done
```
2019-02-08 23:20:57 +01:00
..
admin.js redirect /admin properly (fix #3114) 2017-01-06 18:19:38 +01:00
adminplugins.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
adminsettings.js adminsettings: early return, no functional changes. 2018-08-29 01:34:45 +02:00
apicalls.js Fix typo in apicalls.js which prevents from importing isValidJSONPName. 2018-04-09 20:56:29 +02:00
errorhandling.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
importexport.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
isValidJSONPName.js Added a jsonp var checker 2018-03-23 11:17:39 +00:00
padreadonly.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
padurlsanitize.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
socketio.js update for express 4.x 2015-04-08 23:12:11 -05:00
specialpages.js skins: finalize support for multiple skins 2018-08-26 21:17:04 +02:00
static.js Fix misparse of port when binding Unix socket 2018-08-10 01:57:30 +02:00
swagger.js Adding api call for appending a chat message. 2015-02-09 00:18:12 -05:00
tests.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
webaccess.js deprecations: get rid of DEP0005 about Buffer() 2018-08-14 19:45:03 +02:00