From 80463ade6ec0b443827580771660a9cf39ee53e1 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 25 Aug 2016 13:34:15 +1000 Subject: [PATCH] feat(screenshots): Add screenshots member (closes #477) --- index.html | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index e019f27a..e5b5e06d 100644 --- a/index.html +++ b/index.html @@ -156,7 +156,16 @@

"display": "fullscreen", "orientation": "landscape", "theme_color": "aliceblue", - "background_color": "red" + "background_color": "red", + "screenshots": [{ + "src": "screenshots/in-game-1x.jpg", + "sizes": "640x480", + "type": "image/jpeg" + },{ + "src": "screenshots/in-game-2x.jpg", + "sizes": "1280x920", + "type": "image/jpeg" + }] } @@ -1190,6 +1199,11 @@

background_color member with manifest as argument. +
  • Let screenshots of parsed manifest be the + result of running the steps for processing an array of images + with manifest, manifest URL, and "screenshots" + as arguments. +
  • Return parsed manifest.
  • @@ -2167,6 +2181,16 @@

    +
    +

    + screenshots member +

    +

    + The screenshots + member is an array of image objects represent the + web application in common usage scenarios. +

    +