Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 64d8394568dcedd13b46824fd1ae324652b13899
https://github.com/openSUSE/open-build-service/commit/64d8394568dcedd13b4682...
Author: Björn Geuken
Date: 2018-02-21 (Wed, 21 Feb 2018)
Changed paths:
M src/api/app/assets/javascripts/webui/application/comment.js
M src/api/app/assets/javascripts/webui/application/kiwi_editor.js
M src/api/app/assets/javascripts/webui/application/request.js
Log Message:
-----------
[frontend] Update javascript style: equality operator
Use === instead of ==. The == and != operator are not only comparing two
values. But also trying to convert the variable on the right side, if their
types are not identical. This can be quite a complex logic due to the
various combinations[*] that are possible.
To simplify things and avoid confusion for people that are js experts,
who is?, it's better to stick with ===.
[*] https://dorey.github.io/JavaScript-Equality-Table/
Commit: 9dffb4224bc9449da0ab239a0a2fc589502a1e95
https://github.com/openSUSE/open-build-service/commit/9dffb4224bc9449da0ab23...
Author: David Kang
Date: 2018-02-21 (Wed, 21 Feb 2018)
Changed paths:
M src/api/app/assets/javascripts/webui/application/comment.js
M src/api/app/assets/javascripts/webui/application/kiwi_editor.js
M src/api/app/assets/javascripts/webui/application/request.js
Log Message:
-----------
Merge pull request #4542 from bgeuken/js_style
[frontend] Update javascript style: equality operator
Compare: https://github.com/openSUSE/open-build-service/compare/8eb533c925b0...9dffb4...