Added more workarounds for uncrustify bugs

This commit is contained in:
Evgeny Grin (Karlson2k)
2022-01-18 15:22:35 +03:00
parent ba2d078858
commit 84a92e8a71
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -28,7 +28,7 @@
"<script>\n" \
"\n" \
"let url = 'ws' + (window.location.protocol === 'https:' ? 's' : '')" \
" + '://' +\n" \
" + ':/" "/' +\n" \
" window.location.host + '/chat';\n" \
"let socket = null;\n" \
"\n" \
@@ -38,7 +38,7 @@
" document.write('The websocket connection has been " \
"established.<br>');\n" \
"\n" \
" // Send some text\n" \
" /" "/ Send some text\n" \
" socket.send('Hello from JavaScript!');\n" \
" }\n" \
"\n" \
+1 -1
View File
@@ -55,7 +55,7 @@
"let charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_!@%&/\\\\';\n" \
"let step_to_bytes = [ 0, 1, 2, 3, 122, 123, 124, 125, 126, 127, 128, 32766, 32767, 32768, 65534, 65535, 65536, 65537, 1048576, 10485760 ];\n" \
"let url = 'ws' + (window.location.protocol === 'https:' ? 's' : '')" \
" + '://' +\n" \
" + ':/" "/' +\n" \
" window.location.host + '/websocket';\n" \
"let socket = null;\n" \
"\n" \