Merge pull request #838 from h1nk/master

Add missing final newlines
This commit is contained in:
dkanada 2020-02-23 10:39:15 +09:00 committed by GitHub
commit 6d71fd9772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
123 changed files with 123 additions and 123 deletions

View File

@ -8,7 +8,7 @@ rules:
brace-style: ["error"]
comma-dangle: ["error", "never"]
comma-spacing: ["error"]
eol-last: ["off"]
eol-last: ["error"]
indent: ["error", 4, { "SwitchCase": 1 }]
keyword-spacing: ["error"]
line-comment-position: ["off"]

2
.gitignore vendored
View File

@ -575,4 +575,4 @@ healthchecksdb
# End of https://www.gitignore.io/api/node,rider,macos,linux,windows,visualstudio,visualstudiocode
# dist for webpack output
dist
dist

View File

@ -140,4 +140,4 @@
"value-list-comma-space-before": "never",
"value-list-max-empty-lines": 0,
}
}
}

View File

@ -5,4 +5,4 @@
<div id="pluginTiles" style="text-align:left;"></div>
</div>
</div>
</div>
</div>

View File

@ -42,4 +42,4 @@ define(['browser', 'dialog', 'globalize'], function (browser, dialog, globalize)
return Promise.resolve();
};
});
});

View File

@ -127,4 +127,4 @@ define(['dom', 'focusManager'], function (dom, focusManager) {
};
return AlphaNumericShortcuts;
});
});

View File

@ -230,4 +230,4 @@ define(['events'], function (events) {
return {
getServerAddress: getServerAddress
};
});
});

View File

@ -24,4 +24,4 @@ define([], function () {
return Promise.reject();
}
};
});
});

View File

@ -12,4 +12,4 @@
</div>
<div class="formDialogFooter formDialogFooter-clear formDialogFooter-flex" style="padding-bottom: 1.5em;">
</div>
</div>

View File

@ -481,4 +481,4 @@ define(['appRouter', 'focusManager', 'browser', 'layoutManager', 'inputManager',
globalOnOpenCallback = val;
}
};
});
});

View File

@ -178,4 +178,4 @@ define([], function () {
whichAnimationEvent: whichAnimationEvent,
whichAnimationCancelEvent: whichAnimationCancelEvent
};
});
});

View File

@ -74,4 +74,4 @@ define(['emby-progressring', 'dom', 'serverNotifications', 'events', 'registerEl
prototype: EmbyItemRefreshIndicatorPrototype,
extends: 'div'
});
});
});

View File

@ -479,4 +479,4 @@ define(['itemShortcuts', 'inputManager', 'connectionManager', 'playbackManager',
prototype: ItemsContainerPrototype,
extends: 'div'
});
});
});

View File

@ -206,4 +206,4 @@ define(['scroller', 'dom', 'layoutManager', 'inputManager', 'focusManager', 'bro
prototype: ScrollerPrototype,
extends: 'div'
});
});
});

View File

@ -338,4 +338,4 @@ define(['dom', 'scroller', 'browser', 'layoutManager', 'focusManager', 'register
prototype: EmbyTabs,
extends: 'div'
});
});
});

View File

@ -129,4 +129,4 @@ define([], function () {
getFetchPromise: getFetchPromise,
ajax: ajax
};
});
});

View File

@ -15,4 +15,4 @@ define(['multi-download'], function (multiDownload) {
}
}
};
});
});

View File

@ -15,4 +15,4 @@ define([], function () {
return Promise.reject();
}
};
});
});

View File

@ -105,4 +105,4 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -171,4 +171,4 @@ define(['dialogHelper', 'globalize', 'userSettings', 'layoutManager', 'connectio
return {
show: showEditor
};
});
});

View File

@ -340,4 +340,4 @@ define(['dom', 'layoutManager', 'browser', 'css!./headroom'], function (dom, lay
};
return Headroom;
});
});

View File

@ -129,4 +129,4 @@
<button is="emby-button" type="submit" class="raised button-submit block btnSave hide">
<span>${Save}</span>
</button>
</form>
</form>

View File

@ -463,4 +463,4 @@ define(['appSettings', 'browser', 'events'], function (appSettings, browser, eve
getCrossOriginValue: getCrossOriginValue,
getBufferedRanges: getBufferedRanges
};
});
});

View File

@ -35,4 +35,4 @@ define(['dom'], function (dom) {
loadImage: loadImage
};
});
});

View File

@ -122,4 +122,4 @@ define(['lazyLoader', 'imageFetcher', 'layoutManager', 'browser', 'appSettings',
self.getPrimaryImageAspectRatio = getPrimaryImageAspectRatio;
return self;
});
});

View File

@ -278,4 +278,4 @@ define(['playbackManager', 'serverNotifications', 'events'], function (playbackM
};
return ItemsRefresher;
});
});

View File

@ -100,4 +100,4 @@ define(['require', 'browser'], function (require, browser) {
};
return LazyLoader;
});
});

View File

@ -186,4 +186,4 @@ define(['visibleinviewport', 'dom', 'browser'], function (visibleinviewport, dom
};
return LazyLoader;
});
});

View File

@ -147,4 +147,4 @@
</label>
<div class="fieldDescription checkboxFieldDescription">${SaveSubtitlesIntoMediaFoldersHelp}</div>
</div>
</div>
</div>

View File

@ -81,4 +81,4 @@ define(['components/loading/loadingLegacy', 'browser', 'css!./loading'], functio
}
}
};
});
});

View File

@ -264,4 +264,4 @@ define(['dom', 'browser', 'events', 'emby-tabs', 'emby-button'], function (dom,
getTabsElement: getTabsElement,
selectedTabIndex: selectedTabIndex
};
});
});

View File

@ -96,4 +96,4 @@ define(['dialogHelper', 'layoutManager', 'globalize', 'require', 'paper-icon-but
return {
show: show
};
});
});

View File

@ -63,4 +63,4 @@ define(['browser'], function (browser) {
download(url);
});
};
});
});

View File

@ -149,4 +149,4 @@ define(['appSettings', 'pluginManager'], function (appSettings, pluginManager) {
};
return new PackageManager();
});
});

View File

@ -43,4 +43,4 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
};
return PhotoPlayer;
});
});

View File

@ -94,4 +94,4 @@ define(['connectionManager', 'globalize', 'userSettings', 'apphost'], function (
};
return ExpirementalPlaybackWarnings;
});
});

View File

@ -47,4 +47,4 @@ define(['connectionManager', 'globalize'], function (connectionManager, globaliz
};
return PlayAccessValidation;
});
});

View File

@ -52,4 +52,4 @@ define(['playbackManager', 'layoutManager', 'events'], function (playbackManager
}
}
});
});
});

View File

@ -21,4 +21,4 @@ define([], function () {
return {
getDisplayPlayMethod: getDisplayPlayMethod
};
});
});

View File

@ -230,4 +230,4 @@ define([], function () {
};
return PlayQueueManager;
});
});

View File

@ -44,4 +44,4 @@ define(['events', 'playbackManager'], function (events, playbackManager) {
transferPlayback(oldPlayer, newPlayer);
});
});
});

View File

@ -342,4 +342,4 @@ define(['require', 'browser', 'appSettings', 'apphost', 'focusManager', 'quality
};
return PlaybackSettings;
});
});

View File

@ -86,4 +86,4 @@
<button is="emby-button" type="submit" class="raised button-submit block btnSave hide">
<span>${ButtonSave}</span>
</button>
</form>
</form>

View File

@ -72,4 +72,4 @@ define(['actionsheet', 'datetime', 'playbackManager', 'globalize', 'appSettings'
return {
show: show
};
});
});

View File

@ -146,4 +146,4 @@ define(['events'], function (events) {
};
return new PluginManager();
});
});

View File

@ -25,4 +25,4 @@ define([], function () {
return Promise.reject(result);
}
};
});
});

View File

@ -101,4 +101,4 @@ define(['dialogHelper', 'layoutManager', 'scrollHelper', 'globalize', 'dom', 're
});
});
};
});
});

View File

@ -160,4 +160,4 @@ define(['globalize'], function (globalize) {
getVideoQualityOptions: getVideoQualityOptions,
getAudioQualityOptions: getAudioQualityOptions
};
});
});

View File

@ -202,4 +202,4 @@ define(['dialogHelper', 'globalize', 'layoutManager', 'mediaInfo', 'apphost', 'c
return {
show: showEditor
};
});
});

View File

@ -159,4 +159,4 @@ define(['dialogHelper', 'globalize', 'layoutManager', 'mediaInfo', 'apphost', 'c
return {
show: showEditor
};
});
});

View File

@ -214,4 +214,4 @@ define(['globalize', 'loading', 'connectionManager'], function (globalize, loadi
cancelTimerWithConfirmation: cancelTimerWithConfirmation,
cancelSeriesTimerWithConfirmation: cancelSeriesTimerWithConfirmation
};
});
});

View File

@ -267,4 +267,4 @@ define(['dialogHelper', 'globalize', 'layoutManager', 'mediaInfo', 'apphost', 'c
show: showEditor,
embed: embed
};
});
});

View File

@ -92,4 +92,4 @@ define([], function () {
return truncate(sanitized, 255);
}
};
});
});

View File

@ -928,4 +928,4 @@ define(['browser', 'layoutManager', 'dom', 'focusManager', 'ResizeObserver', 'sc
};
return scrollerFactory;
});
});

View File

@ -134,4 +134,4 @@ define(['focusManager', 'dom', 'scrollStyles'], function (focusManager, dom) {
toCenter: toCenter,
toStart: toStart
};
});
});

View File

@ -121,4 +121,4 @@ define(['layoutManager', 'globalize', 'require', 'events', 'browser', 'alphaPick
};
return SearchFields;
});
});

View File

@ -142,4 +142,4 @@
<div is="emby-scroller" data-horizontal="true" data-centerfocus="card" data-mousewheel="false" class="padded-top-focusscale padded-bottom-focusscale">
<div is="emby-itemscontainer" class="focuscontainer-x itemsContainer scrollSlider"></div>
</div>
</div>
</div>

View File

@ -369,4 +369,4 @@ require(['apphost'], function (appHost) {
window.navigator.gamepadInputEmulation = "gamepad";
}
});
});

View File

@ -166,4 +166,4 @@ define(['inputManager', 'focusManager', 'browser', 'layoutManager', 'events', 'd
events.on(layoutManager, 'modechange', initMouse);
return self;
});
});

View File

@ -155,4 +155,4 @@ define(['loading', 'events', 'dialogHelper', 'dom', 'layoutManager', 'scrollHelp
};
return ServerRestartDialog;
});
});

View File

@ -41,4 +41,4 @@
event.waitUntil(executeAction(action, data, serverId));
}, false);
})();
})();

View File

@ -549,4 +549,4 @@ define(['playbackManager', 'events', 'serverNotifications', 'connectionManager']
};
return SessionPlayer;
});
});

View File

@ -27,4 +27,4 @@ define([], function () {
}
}
};
});
});

View File

@ -425,4 +425,4 @@ define(['playbackManager', 'inputManager', 'connectionManager', 'appRouter', 'gl
getShortcutAttributesHtml: getShortcutAttributesHtml
};
});
});

View File

@ -641,4 +641,4 @@ define(['dialogHelper', 'inputManager', 'connectionManager', 'layoutManager', 'f
}
};
};
});
});

View File

@ -19,4 +19,4 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -156,4 +156,4 @@ define([], function () {
getStyles: getStyles,
applyStyles: applyStyles
};
});
});

View File

@ -219,4 +219,4 @@ define(['require', 'globalize', 'appSettings', 'apphost', 'focusManager', 'loadi
};
return SubtitleSettings;
});
});

View File

@ -91,4 +91,4 @@
<button is="emby-button" type="submit" class="raised button-submit block btnSave hide">
<span>${Save}</span>
</button>
</form>
</form>

View File

@ -4,4 +4,4 @@
<div class="sliderContainer subtitleSyncSliderContainer">
<input is="emby-slider" type="range" step="1" min="0" max="100" value="50" class="subtitleSyncSlider" />
</div>
</div>
</div>

View File

@ -120,4 +120,4 @@ define(['backdrop', 'mainTabsManager', 'layoutManager', 'emby-tabs'], function (
};
return TabbedView;
});
});

View File

@ -108,4 +108,4 @@ define(['playbackManager', 'userSettings', 'connectionManager'], function (playb
// }
//});
});
});

View File

@ -39,4 +39,4 @@ define(['css!./toast'], function () {
}, 300);
};
});
});

View File

@ -168,4 +168,4 @@ define(['dom', 'events'], function (dom, events) {
};
return TouchHelper;
});
});

View File

@ -70,4 +70,4 @@
</div>
</div>
</form>
</div>
</div>

View File

@ -332,4 +332,4 @@ define(['dom', 'playbackManager', 'connectionManager', 'events', 'mediaInfo', 'l
};
return UpNextDialog;
});
});

View File

@ -156,4 +156,4 @@ define(['connectionManager', 'serverNotifications', 'events', 'globalize', 'emby
prototype: EmbyPlaystateButtonPrototype,
extends: 'button'
});
});
});

View File

@ -38,4 +38,4 @@
</div>
</form>
</div>
</div>
</div>

View File

@ -38,4 +38,4 @@ define(['dom'], function (dom) {
}
return visibleInViewport;
});
});

View File

@ -405,4 +405,4 @@ define(['require', 'events', 'browser', 'appRouter', 'loading'], function (requi
};
return YoutubePlayer;
});
});

View File

@ -30,4 +30,4 @@ define(["datetime", "loading", "apphost", "listViewStyle", "emby-button", "flexS
});
});
}
});
});

View File

@ -68,4 +68,4 @@ define(["globalize", "loading", "libraryMenu", "emby-checkbox", "emby-button", "
});
});
}
});
});

View File

@ -61,4 +61,4 @@ define(["jQuery", "dom", "loading", "libraryMenu", "listViewStyle"], function($,
}).on("pageshow", "#metadataImagesConfigurationPage", function() {
libraryMenu.setTabs("metadata", 2, getTabs), loading.show(), loadPage(this)
})
});
});

View File

@ -97,4 +97,4 @@ define(['browser', 'css!./emby-collapse', 'registerElement', 'emby-button'], fun
prototype: EmbyButtonPrototype,
extends: 'div'
});
});
});

View File

@ -123,4 +123,4 @@ define(['layoutManager', 'browser', 'dom', 'css!./emby-input', 'registerElement'
prototype: EmbyInputPrototype,
extends: 'input'
});
});
});

View File

@ -98,4 +98,4 @@ define(['require', 'css!./emby-progressring', 'registerElement'], function (requ
});
return EmbyProgressRing;
});
});

View File

@ -20,4 +20,4 @@
<div class="spiner-holder-two animate-75-100-b">
<div class="progressring-spiner"></div>
</div>
</div>
</div>

View File

@ -45,4 +45,4 @@ define(['css!./emby-radio', 'registerElement'], function () {
prototype: EmbyRadioPrototype,
extends: 'input'
});
});
});

View File

@ -135,4 +135,4 @@ define(['layoutManager', 'browser', 'css!./emby-textarea', 'registerElement', 'e
prototype: EmbyTextAreaPrototype,
extends: 'textarea'
});
});
});

View File

@ -47,4 +47,4 @@ define(['css!./emby-toggle', 'registerElement'], function () {
prototype: EmbyTogglePrototype,
extends: 'input'
});
});
});

View File

@ -4,4 +4,4 @@
<div class="installedPlugins"></div>
</div>
</div>
</div>
</div>

View File

@ -17,4 +17,4 @@ Dashboard.confirm = function(message, title, callback) {
require(["loading"], function(loading) {
loading.hide()
})
};
};

View File

@ -7,4 +7,4 @@ define(["jQuery"], function($) {
}, $.fn.checkboxradio = function() {
return this
}
});
});

View File

@ -3,4 +3,4 @@ define(["jQuery"], function($) {
$.fn.selectmenu = function() {
return this
}
});
});

View File

@ -233,4 +233,4 @@ define(["libraries/apiclient/apiclientcore", "localassetmanager"], function(ApiC
}
return ApiClient.prototype.getItemDownloadUrl.call(this, itemId)
}, ApiClientEx
});
});

View File

@ -50,4 +50,4 @@ define([], function() {
}
return new MyStore;
});
});

View File

@ -26,4 +26,4 @@ define(["events", "appStorage"], function(events, appStorage) {
})[0];
return existing ? (existing.DateLastAccessed = Math.max(existing.DateLastAccessed || 0, server.DateLastAccessed || 0), existing.UserLinkType = server.UserLinkType, server.AccessToken && (existing.AccessToken = server.AccessToken, existing.UserId = server.UserId), server.ExchangeToken && (existing.ExchangeToken = server.ExchangeToken), server.RemoteAddress && (existing.RemoteAddress = server.RemoteAddress), server.ManualAddress && (existing.ManualAddress = server.ManualAddress), server.LocalAddress && (existing.LocalAddress = server.LocalAddress), server.Name && (existing.Name = server.Name), null != server.LastConnectionMode && (existing.LastConnectionMode = server.LastConnectionMode), server.ConnectServerId && (existing.ConnectServerId = server.ConnectServerId), existing) : (list.push(server), server)
}, Credentials
});
});

View File

@ -27,4 +27,4 @@ define([], function() {
})
}
}
});
});

View File

@ -1,3 +1,3 @@
{
"main": "apiclient.js"
}
}

View File

@ -42,4 +42,4 @@ define([], function() {
getItemFileSize: getItemFileSize,
getImageUrl: getImageUrl
}
});
});

Some files were not shown because too many files have changed in this diff Show More