1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add missing final newlines

Used this one-liner: https://unix.stackexchange.com/a/161853
This commit is contained in:
h1nk 2020-02-22 11:47:03 -05:00
parent b377878fd3
commit 598402d953
No known key found for this signature in database
GPG key ID: 3F2A018965C4954B
122 changed files with 122 additions and 122 deletions

2
.gitignore vendored
View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -12,4 +12,4 @@
</div> </div>
<div class="formDialogFooter formDialogFooter-clear formDialogFooter-flex" style="padding-bottom: 1.5em;"> <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; globalOnOpenCallback = val;
} }
}; };
}); });

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -147,4 +147,4 @@
</label> </label>
<div class="fieldDescription checkboxFieldDescription">${SaveSubtitlesIntoMediaFoldersHelp}</div> <div class="fieldDescription checkboxFieldDescription">${SaveSubtitlesIntoMediaFoldersHelp}</div>
</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, getTabsElement: getTabsElement,
selectedTabIndex: selectedTabIndex selectedTabIndex: selectedTabIndex
}; };
}); });

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -25,4 +25,4 @@ define([], function () {
return Promise.reject(result); 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, getVideoQualityOptions: getVideoQualityOptions,
getAudioQualityOptions: getAudioQualityOptions getAudioQualityOptions: getAudioQualityOptions
}; };
}); });

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -121,4 +121,4 @@ define(['layoutManager', 'globalize', 'require', 'events', 'browser', 'alphaPick
}; };
return SearchFields; 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-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 is="emby-itemscontainer" class="focuscontainer-x itemsContainer scrollSlider"></div>
</div> </div>
</div> </div>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -120,4 +120,4 @@ define(['backdrop', 'mainTabsManager', 'layoutManager', 'emby-tabs'], function (
}; };
return TabbedView; 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); }, 300);
}; };
}); });

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -405,4 +405,4 @@ define(['require', 'events', 'browser', 'appRouter', 'loading'], function (requi
}; };
return YoutubePlayer; 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() { }).on("pageshow", "#metadataImagesConfigurationPage", function() {
libraryMenu.setTabs("metadata", 2, getTabs), loading.show(), loadPage(this) 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, prototype: EmbyButtonPrototype,
extends: 'div' extends: 'div'
}); });
}); });

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -26,4 +26,4 @@ define(["events", "appStorage"], function(events, appStorage) {
})[0]; })[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) 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 }, Credentials
}); });

View file

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

View file

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

View file

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

View file

@ -120,4 +120,4 @@ define([], function() {
getAll: getAll, getAll: getAll,
getServerItemTypes: getServerItemTypes getServerItemTypes: getServerItemTypes
} }
}); });

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