Apply ESLint autofix for no-yoda rule

This commit is contained in:
MrTimscampi 2020-07-30 16:07:13 +02:00
parent 642e2624e5
commit 22a46ecea6
49 changed files with 440 additions and 440 deletions

View file

@ -20,7 +20,7 @@ define(['tabbedView', 'globalize', 'require', 'emby-tabs', 'emby-button', 'emby-
}
function getTabController(index) {
if (null == index) {
if (index == null) {
throw new Error('index cannot be null');
}