Merge remote-tracking branch 'upstream/master' into es6
With conflicts
This commit is contained in:
commit
3713091382
165 changed files with 4194 additions and 2714 deletions
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
import browser from 'browser';
|
||||
import dom from 'dom';
|
||||
import layoutManager from 'layoutManager';
|
||||
|
@ -6,6 +7,10 @@ import appRouter from 'appRouter';
|
|||
import appHost from 'apphost';
|
||||
import 'css!./emby-button';
|
||||
import 'registerElement';
|
||||
=======
|
||||
define(['browser', 'dom', 'layoutManager', 'shell', 'appRouter', 'apphost', 'css!./emby-button', 'webcomponents'], function (browser, dom, layoutManager, shell, appRouter, appHost) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
const EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype);
|
||||
const EmbyLinkButtonPrototype = Object.create(HTMLAnchorElement.prototype);
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
<<<<<<< HEAD
|
||||
import layoutManager from 'layoutManager';
|
||||
import 'css!./emby-button';
|
||||
import 'registerElement';
|
||||
=======
|
||||
define(['layoutManager', 'css!./emby-button', 'webcomponents'], function (layoutManager) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
const EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype);
|
||||
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<<<<<<< HEAD
|
||||
import browser from 'browser';
|
||||
import dom from 'dom';
|
||||
import 'css!./emby-checkbox';
|
||||
import 'registerElement';
|
||||
=======
|
||||
define(['browser', 'dom', 'css!./emby-checkbox', 'webcomponents'], function (browser, dom) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<<<<<<< HEAD
|
||||
import browser from 'browser';
|
||||
import 'css!./emby-collapse';
|
||||
import 'registerElement';
|
||||
import 'emby-button';
|
||||
=======
|
||||
define(['browser', 'css!./emby-collapse', 'webcomponents', 'emby-button'], function (browser) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
<<<<<<< HEAD
|
||||
import layoutManager from 'layoutManager';
|
||||
import browser from 'browser';
|
||||
import dom from 'dom';
|
||||
import 'css!./emby-input';
|
||||
import 'registerElement';
|
||||
=======
|
||||
define(['layoutManager', 'browser', 'dom', 'css!./emby-input', 'webcomponents'], function (layoutManager, browser, dom) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
import EmbyProgressRing from 'emby-progressring';
|
||||
import dom from 'dom';
|
||||
import serverNotifications from 'serverNotifications';
|
||||
|
@ -5,6 +6,10 @@ import events from 'events';
|
|||
import 'registerElement';
|
||||
|
||||
/* eslint-disable indent */
|
||||
=======
|
||||
define(['emby-progressring', 'dom', 'serverNotifications', 'events', 'webcomponents'], function (EmbyProgressRing, dom, serverNotifications, events) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
function addNotificationEvent(instance, name, handler) {
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
import itemShortcuts from 'itemShortcuts';
|
||||
import inputManager from 'inputManager';
|
||||
import connectionManager from 'connectionManager';
|
||||
|
@ -15,6 +16,12 @@ import 'registerElement';
|
|||
/* eslint-disable indent */
|
||||
|
||||
const ItemsContainerPrototype = Object.create(HTMLDivElement.prototype);
|
||||
=======
|
||||
define(['itemShortcuts', 'inputManager', 'connectionManager', 'playbackManager', 'imageLoader', 'layoutManager', 'browser', 'dom', 'loading', 'focusManager', 'serverNotifications', 'events', 'webcomponents'], function (itemShortcuts, inputManager, connectionManager, playbackManager, imageLoader, layoutManager, browser, dom, loading, focusManager, serverNotifications, events) {
|
||||
'use strict';
|
||||
|
||||
var ItemsContainerPrototype = Object.create(HTMLDivElement.prototype);
|
||||
>>>>>>> upstream/master
|
||||
|
||||
function onClick(e) {
|
||||
const itemsContainer = this;
|
||||
|
@ -42,7 +49,7 @@ import 'registerElement';
|
|||
|
||||
// check for serverId, it won't be present on selectserver
|
||||
if (card && card.getAttribute('data-serverid')) {
|
||||
inputManager.trigger('menu', {
|
||||
inputManager.handleCommand('menu', {
|
||||
sourceElement: card
|
||||
});
|
||||
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
<<<<<<< HEAD
|
||||
import require from 'require';
|
||||
import 'css!./emby-progressring';
|
||||
import 'webcomponents';
|
||||
=======
|
||||
define(['require', 'css!./emby-progressring', 'webcomponents'], function (require) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
<<<<<<< HEAD
|
||||
import layoutManager from 'layoutManager';
|
||||
import 'css!./emby-radio';
|
||||
import 'registerElement';
|
||||
=======
|
||||
define(['layoutManager', 'css!./emby-radio', 'webcomponents'], function (layoutManager) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
justify-content: center;
|
||||
min-width: 104px;
|
||||
min-height: 24px;
|
||||
padding-top: 1.25em;
|
||||
padding-top: 0.85em;
|
||||
z-index: 1;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
<<<<<<< HEAD
|
||||
import layoutManager from 'layoutManager';
|
||||
import dom from 'dom';
|
||||
import 'css!./emby-scrollbuttons';
|
||||
import 'registerElement';
|
||||
import 'paper-icon-button-light';
|
||||
=======
|
||||
define(['layoutManager', 'dom', 'css!./emby-scrollbuttons', 'webcomponents', 'paper-icon-button-light'], function (layoutManager, dom) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
import scroller from 'scroller';
|
||||
import dom from 'dom';
|
||||
import layoutManager from 'layoutManager';
|
||||
|
@ -6,6 +7,10 @@ import focusManager from 'focusManager';
|
|||
import browser from 'browser';
|
||||
import 'registerElement';
|
||||
import 'css!./emby-scroller';
|
||||
=======
|
||||
define(['scroller', 'dom', 'layoutManager', 'inputManager', 'focusManager', 'browser', 'webcomponents', 'css!./emby-scroller'], function (scroller, dom, layoutManager, inputManager, focusManager, browser) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
<<<<<<< HEAD
|
||||
import layoutManager from 'layoutManager';
|
||||
import browser from 'browser';
|
||||
import actionsheet from 'actionsheet';
|
||||
import 'css!./emby-select';
|
||||
import 'registerElement';
|
||||
=======
|
||||
define(['layoutManager', 'browser', 'actionsheet', 'css!./emby-select', 'webcomponents'], function (layoutManager, browser, actionsheet) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
import browser from 'browser';
|
||||
import dom from 'dom';
|
||||
import layoutManager from 'layoutManager';
|
||||
|
@ -5,6 +6,10 @@ import keyboardnavigation from 'keyboardnavigation';
|
|||
import 'css!./emby-slider';
|
||||
import 'webcomponents';
|
||||
import 'emby-input';
|
||||
=======
|
||||
define(['browser', 'dom', 'layoutManager', 'keyboardnavigation', 'css!./emby-slider', 'webcomponents', 'emby-input'], function (browser, dom, layoutManager, keyboardnavigation) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -31,11 +31,6 @@
|
|||
|
||||
.emby-tabs-slider {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.layout-mobile .emby-tabs-slider {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.tabContent:not(.is-active) {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
import dom from 'dom';
|
||||
import scroller from 'scroller';
|
||||
import browser from 'browser';
|
||||
|
@ -6,6 +7,10 @@ import focusManager from 'focusManager';
|
|||
import 'registerElement';
|
||||
import 'css!./emby-tabs';
|
||||
import 'scrollStyles';
|
||||
=======
|
||||
define(['dom', 'scroller', 'browser', 'layoutManager', 'focusManager', 'webcomponents', 'css!./emby-tabs', 'scrollStyles'], function (dom, scroller, browser, layoutManager, focusManager) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
import layoutManager from 'layoutManager';
|
||||
import browser from 'browser';
|
||||
import 'css!./emby-textarea';
|
||||
|
@ -5,6 +6,10 @@ import 'registerElement';
|
|||
import 'emby-input';
|
||||
|
||||
/* eslint-disable indent */
|
||||
=======
|
||||
define(['layoutManager', 'browser', 'css!./emby-textarea', 'webcomponents', 'emby-input'], function (layoutManager, browser) {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
function autoGrow(textarea, maxLines) {
|
||||
const self = this;
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<<<<<<< HEAD
|
||||
import 'css!./emby-toggle';
|
||||
import 'registerElement';
|
||||
=======
|
||||
define(['css!./emby-toggle', 'webcomponents'], function () {
|
||||
'use strict';
|
||||
>>>>>>> upstream/master
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue