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

update components

This commit is contained in:
Luke Pulverenti 2016-08-27 21:05:32 -04:00
parent 3fac9fa99d
commit 557ac784a8
9 changed files with 33 additions and 22 deletions

View file

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.1.77",
"_release": "1.1.77",
"version": "1.1.78",
"_release": "1.1.78",
"_resolution": {
"type": "version",
"tag": "1.1.77",
"commit": "685285e67f67ba356af1be84652e9705a6ea7b74"
"tag": "1.1.78",
"commit": "113950cf0757d1725367b6866ebfbd5b68e35cee"
},
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
"_target": "^1.1.51",

View file

@ -2884,6 +2884,11 @@
return self.getJSON(self.getUrl("Channels", query || {}));
};
self.getLatestChannelItems = function (query) {
return self.getJSON(self.getUrl("Channels/Items/Latest", query));
};
self.getUserViews = function (options, userId) {
options = options || {};

View file

@ -14,12 +14,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.4.189",
"_release": "1.4.189",
"version": "1.4.190",
"_release": "1.4.190",
"_resolution": {
"type": "version",
"tag": "1.4.189",
"commit": "d7b1da1cd548e50125dd5419b3742fdfc9a07460"
"tag": "1.4.190",
"commit": "09067acafeb54ce135205fe22bdd67c5e04f53cc"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.1",

View file

@ -112,6 +112,15 @@
date.toLocaleDateString();
}
function toLocaleTimeString(date) {
var currentLocale = globalize.getCurrentLocale();
return currentLocale && toLocaleTimeStringSupportsLocales ?
date.toLocaleTimeString(currentLocale) :
date.toLocaleTimeString();
}
function getDisplayTime(date) {
if ((typeof date).toString().toLowerCase() === 'string') {
@ -124,11 +133,7 @@
}
}
var currentLocale = globalize.getCurrentLocale();
var time = currentLocale && toLocaleTimeStringSupportsLocales ?
date.toLocaleTimeString(currentLocale) :
date.toLocaleTimeString();
var time = toLocaleTimeString(date);
var timeLower = time.toLowerCase();

View file

@ -73,7 +73,6 @@ define([], function () {
var windowSize;
var windowSizeEventsBound;
function clearWindowSize() {
console.log('clearWindowSize');
windowSize = null;
}

View file

@ -27,8 +27,9 @@
.mdl-checkbox__input {
position: absolute;
width: 0;
height: 0;
/* 1px is for focusing purposes, so the focusManager doesn't skip over it */
width: 1px;
height: 1px;
margin: 0;
padding: 0;
opacity: 0;

View file

@ -59,7 +59,7 @@
var keyframes = [
{ transform: 'translateY(100%)', offset: 0 },
{ transform: 'none', offset: 1 }];
var timing = { duration: 180, iterations: 1, fill: 'forwards', easing: 'ease-out' };
var timing = { duration: 200, iterations: 1, fill: 'forwards', easing: 'ease-out' };
elem.animate(keyframes, timing);
});
}

View file

@ -98,11 +98,11 @@ function (dialogHelper, loading, connectionManager, globalize, actionsheet) {
html += '<i class="md-icon listItemIcon">dvr</i>';
html += '<div class="listItemBody two-line">';
html += '<h3>';
html += '<h3 class="listItemBodyText">';
html += channel.Name;
html += '</h3>';
html += '<div class="secondary">';
html += '<div class="secondary listItemBodyText">';
if (channel.ProviderChannelNumber || channel.ProviderChannelName) {
html += getMappingSecondaryName(channel, providerName);
}

View file

@ -45,7 +45,8 @@
showTitle: true,
lazy: true,
cardLayout: true,
showDetailsMenu: true
showDetailsMenu: true,
showCurrentProgram: true
});
}