📝 js/README update recommendation text for leading semicolon

Thanks @Hipska !
This commit is contained in:
Pierre Goiffon
2021-03-22 12:17:12 +01:00
parent 8dac0a56c9
commit 3a141def49

View File

@@ -24,6 +24,8 @@ For example :
Having `(A)()(B)()` is different than `(A)();(B)();` !
To avoid those problems simply add a leading semicolon on all JS files containing `()` at their end.
To avoid those problems simply add a leading semicolon on all JS files.
See https://stackoverflow.com/a/23056287
See :
https://stackoverflow.com/a/23056287
https://github.com/Combodo/iTop/commit/3959ed505b324d26500c517731371ae318576af7