update components
This commit is contained in:
parent
cc2c794ad0
commit
a066e217a6
11 changed files with 62 additions and 39 deletions
|
@ -16,12 +16,12 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.2.2",
|
"version": "1.2.4",
|
||||||
"_release": "1.2.2",
|
"_release": "1.2.4",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.2.2",
|
"tag": "1.2.4",
|
||||||
"commit": "090c43863857847e33055ba1d7ab278b17f76203"
|
"commit": "f948300fd2b45386448971b7b212635b575887c5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
|
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
|
||||||
"_target": "^1.2.0",
|
"_target": "^1.2.0",
|
||||||
|
|
|
@ -98,14 +98,11 @@ define(['cryptojs-md5'], function () {
|
||||||
|
|
||||||
fileEntry.file(function (file) {
|
fileEntry.file(function (file) {
|
||||||
|
|
||||||
var lastModifiedDate = file.lastModifiedDate;
|
getLastModified(file, fileEntry).then(function (lastModifiedDate) {
|
||||||
if (!lastModifiedDate) {
|
|
||||||
lastModifiedDate = fileEntry.getMetadata().lastModifiedDate;
|
|
||||||
}
|
|
||||||
|
|
||||||
var elapsed = new Date().getTime() - lastModifiedDate.getTime();
|
var elapsed = new Date().getTime() - lastModifiedDate;
|
||||||
// 45 days
|
// 40 days
|
||||||
var maxElapsed = 3888000000;
|
var maxElapsed = 3456000000;
|
||||||
if (elapsed >= maxElapsed) {
|
if (elapsed >= maxElapsed) {
|
||||||
|
|
||||||
var fullPath = fileEntry.fullPath;
|
var fullPath = fileEntry.fullPath;
|
||||||
|
@ -118,6 +115,32 @@ define(['cryptojs-md5'], function () {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function getLastModified(file, fileEntry) {
|
||||||
|
|
||||||
|
var lastModifiedDate = file.lastModified || file.lastModifiedDate || file.modificationTime;
|
||||||
|
if (lastModifiedDate) {
|
||||||
|
if (lastModifiedDate.getTime) {
|
||||||
|
lastModifiedDate = lastModifiedDate.getTime();
|
||||||
|
}
|
||||||
|
return Promise.resolve(lastModifiedDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
|
||||||
|
fileEntry.getMetadata(function (metadata) {
|
||||||
|
var lastModifiedDate = metadata.lastModified || metadata.lastModifiedDate || metadata.modificationTime;
|
||||||
|
if (lastModifiedDate) {
|
||||||
|
if (lastModifiedDate.getTime) {
|
||||||
|
lastModifiedDate = lastModifiedDate.getTime();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
resolve(lastModifiedDate);
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCacheKey(url) {
|
function getCacheKey(url) {
|
||||||
|
|
|
@ -32,14 +32,14 @@
|
||||||
"web-component-tester": "^4.0.0",
|
"web-component-tester": "^4.0.0",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/polymerelements/iron-icon",
|
"homepage": "https://github.com/PolymerElements/iron-icon",
|
||||||
"_release": "1.0.8",
|
"_release": "1.0.8",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.8",
|
"tag": "v1.0.8",
|
||||||
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-icon.git",
|
"_source": "git://github.com/PolymerElements/iron-icon.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/iron-icon"
|
"_originalSource": "PolymerElements/iron-icon"
|
||||||
}
|
}
|
|
@ -41,7 +41,7 @@
|
||||||
"tag": "v1.1.3",
|
"tag": "v1.1.3",
|
||||||
"commit": "c13869b57a9464dfc3a1f26e89858f8be37e7441"
|
"commit": "c13869b57a9464dfc3a1f26e89858f8be37e7441"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-icons.git",
|
"_source": "git://github.com/PolymerElements/iron-icons.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/iron-icons"
|
"_originalSource": "PolymerElements/iron-icons"
|
||||||
}
|
}
|
|
@ -45,7 +45,7 @@
|
||||||
"tag": "v1.0.11",
|
"tag": "v1.0.11",
|
||||||
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
|
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/paper-behaviors.git",
|
"_source": "git://github.com/PolymerElements/paper-behaviors.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/paper-behaviors"
|
"_originalSource": "PolymerElements/paper-behaviors"
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper-dialog-behavior",
|
"name": "paper-dialog-behavior",
|
||||||
"version": "1.2.2",
|
"version": "1.2.4",
|
||||||
"description": "Implements a behavior used for material design dialogs",
|
"description": "Implements a behavior used for material design dialogs",
|
||||||
"authors": "The Polymer Authors",
|
"authors": "The Polymer Authors",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -34,11 +34,11 @@
|
||||||
"web-component-tester": "^4.0.0",
|
"web-component-tester": "^4.0.0",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"_release": "1.2.2",
|
"_release": "1.2.4",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.2.2",
|
"tag": "v1.2.4",
|
||||||
"commit": "aca5d9372004671830021f164b7e6cf175a98a19"
|
"commit": "d5988ae3790b285acc91f6d5708023f5223833f3"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-dialog-behavior.git",
|
"_source": "git://github.com/PolymerElements/paper-dialog-behavior.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper-dialog-behavior",
|
"name": "paper-dialog-behavior",
|
||||||
"version": "1.2.2",
|
"version": "1.2.4",
|
||||||
"description": "Implements a behavior used for material design dialogs",
|
"description": "Implements a behavior used for material design dialogs",
|
||||||
"authors": "The Polymer Authors",
|
"authors": "The Polymer Authors",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
@ -11,11 +11,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 24px 40px;
|
margin: 24px 40px;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
background: var(--paper-dialog-background-color, --primary-background-color);
|
background: var(--paper-dialog-background-color, --primary-background-color);
|
||||||
color: var(--paper-dialog-color, --primary-text-color);
|
color: var(--paper-dialog-color, --primary-text-color);
|
||||||
|
|
||||||
@apply(--layout-scroll);
|
|
||||||
@apply(--paper-font-body1);
|
@apply(--paper-font-body1);
|
||||||
@apply(--shadow-elevation-16dp);
|
@apply(--shadow-elevation-16dp);
|
||||||
@apply(--paper-dialog);
|
@apply(--paper-dialog);
|
||||||
|
|
|
@ -14,11 +14,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 24px 40px;
|
margin: 24px 40px;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
background: var(--paper-dialog-background-color, --primary-background-color);
|
background: var(--paper-dialog-background-color, --primary-background-color);
|
||||||
color: var(--paper-dialog-color, --primary-text-color);
|
color: var(--paper-dialog-color, --primary-text-color);
|
||||||
|
|
||||||
@apply(--layout-scroll);
|
|
||||||
@apply(--paper-font-body1);
|
@apply(--paper-font-body1);
|
||||||
@apply(--shadow-elevation-16dp);
|
@apply(--shadow-elevation-16dp);
|
||||||
@apply(--paper-dialog);
|
@apply(--paper-dialog);
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
"tag": "v1.0.6",
|
"tag": "v1.0.6",
|
||||||
"commit": "6aef0896fcbc25f9f5bd1dd55f7679e6ab7f92ad"
|
"commit": "6aef0896fcbc25f9f5bd1dd55f7679e6ab7f92ad"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/paper-material.git",
|
"_source": "git://github.com/PolymerElements/paper-material.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/paper-material"
|
"_originalSource": "PolymerElements/paper-material"
|
||||||
}
|
}
|
|
@ -32,14 +32,14 @@
|
||||||
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
||||||
},
|
},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"homepage": "https://github.com/polymerelements/paper-ripple",
|
"homepage": "https://github.com/PolymerElements/paper-ripple",
|
||||||
"_release": "1.0.5",
|
"_release": "1.0.5",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.5",
|
"tag": "v1.0.5",
|
||||||
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/paper-ripple.git",
|
"_source": "git://github.com/PolymerElements/paper-ripple.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/paper-ripple"
|
"_originalSource": "PolymerElements/paper-ripple"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue