[www] update

This commit is contained in:
Roman Timashev committed 2017-10-24 17:27:46 +03:00
1 parent 69f9c1344e
commit 1efd23c403
5 files changed
+21 -13

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ class Image {
const a = this.getArtifact(size)
const a2 = this.getArtifact(retinaSize)
const srcset = !a2
? null
? []
: [{
url: a2.url,
density: ImageArtifactType.RETINA_DENSITY,
+1
View File
@@ -7,6 +7,7 @@ class ImageArtifactType {
ImageArtifactType.SMALL = 'small'
ImageArtifactType.MEDIUM = 'medium'
ImageArtifactType.BIG = 'big'
ImageArtifactType.LARGE = 'large'
ImageArtifactType.ORIGIN = 'original'
ImageArtifactType.ORIGINAL = 'original'