pad.pub0.org/bin
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
..
deb-src cp readme on build 2013-11-24 13:08:26 +00:00
doc Update package.json 2017-11-20 08:46:24 +00:00
buildDebian.sh Typos and minor fixes in bin, doc, and root 2017-09-14 13:33:27 +02:00
buildForWindows.sh windows: 1.7.5 was released with node 8.15.0. Document it here. 2019-01-27 13:48:24 +01:00
checkAllPads.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
checkPad.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
cleanRun.sh cleanRun.sh: get rid of "Bad substitution" error 2018-08-17 22:22:14 +02:00
convert.js use Date.now() instead of new Date().getTime() 2019-02-26 23:25:15 +01:00
convertSettings.json.template Fixed some problems with the database convertion 2011-11-25 17:56:50 -08:00
createRelease.sh createRelease.sh: deprecate the script. It will be removed or modified. 2018-08-17 00:09:25 +02:00
debugRun.sh [chore] Allow debug mode on node versions >= 6.3 (#3527) 2018-12-22 10:28:50 -02:00
deletePad.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
dirty-db-cleaner.py fix for python3 2019-01-22 22:23:18 +01:00
extractPadData.js prepare to async: trivial reformatting 2019-02-08 23:20:57 +01:00
importSqlFile.js use Date.now() instead of new Date().getTime() 2019-02-26 23:25:15 +01:00
installDeps.sh node8: require nodejs >= 8.9.0, npm >= 6.4 2019-02-19 22:01:12 +01:00
installOnWindows.bat skins: replace {js,css}.template with actual files. Simplify startup scripts. 2018-08-26 21:17:04 +02:00
migrateDirtyDBtoRealDB.js migrateDirtyDBtoRealDB: disabled write buffer, #2214 2018-11-27 21:18:40 +01:00
rebuildPad.js Give better error message when rebuildPad.js hits a non-existing rev. 2015-10-07 12:42:19 +02:00
repairPad.js Typos and minor fixes in bin, doc, and root 2017-09-14 13:33:27 +02:00
run.sh Typos and minor fixes in bin, doc, and root 2017-09-14 13:33:27 +02:00
safeRun.sh Typos and minor fixes in bin, doc, and root 2017-09-14 13:33:27 +02:00
updatePlugins.sh cleaner update logic doesnt error when nothing to do 2015-04-26 14:42:21 +01:00