From b564e12b0b5416e966776605c8a742dceaeec53f Mon Sep 17 00:00:00 2001 From: nelabiernat <60930527+nelabiernat@users.noreply.github.com> Date: Thu, 27 Apr 2023 10:05:11 +0200 Subject: [PATCH] updated package json and links --- env.yml.dist | 2 +- package.json | 6 +++--- samples/pdp/index.html | 8 ++++---- samples/pdp/script.js | 8 ++++---- samples/plp/index.html | 22 +++++++++++----------- samples/starter/index.html | 4 ++-- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/env.yml.dist b/env.yml.dist index d1aac47..b8ff39c 100644 --- a/env.yml.dist +++ b/env.yml.dist @@ -6,4 +6,4 @@ fsi: viewer: viewer sources: images: images/path - static: static/path + statics: statics/path diff --git a/package.json b/package.json index 8e42527..1074ebf 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "NeptuneLabs GmbH", "url": "https://www.neptunelabs.com/" }, - "version": "23.01.06", + "version": "23.04.27", "homepage": "https://www.neptunelabs.com/fsi-touchzoom", "repository": { "type": "git", @@ -12,12 +12,12 @@ "license": "Apache-2.0", "private": true, "engines": { - "node": ">=14.0.0 <20", + "node": ">=14.0.0 <16", "npm": ">=6.0.0" }, "devDependencies": { "@neptunelabs/fsi-samples-framework": "^1.0.2-dev", - "prettier": "^2.8.1" + "prettier": "^2.8.8" }, "scripts": { "start": "start-sample" diff --git a/samples/pdp/index.html b/samples/pdp/index.html index 5303cc6..534c8d5 100644 --- a/samples/pdp/index.html +++ b/samples/pdp/index.html @@ -6,7 +6,7 @@ @@ -36,7 +36,7 @@

Harley

@@ -45,7 +45,7 @@

Harley

@@ -54,7 +54,7 @@

Harley

diff --git a/samples/pdp/script.js b/samples/pdp/script.js index b1cf2ac..856e1ff 100644 --- a/samples/pdp/script.js +++ b/samples/pdp/script.js @@ -3,16 +3,16 @@ function changeImage(buttonID) { let curImage = document.getElementById('image'); switch (buttonID) { case "0": - img = '{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940'; + img = '{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940'; break case "1": - img = '{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531467.jpg&width=940'; + img = '{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531467.jpg&width=940'; break case "2": - img = '{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531463.jpg&width=940'; + img = '{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531463.jpg&width=940'; break default: - img = '{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940'; + img = '{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940'; } curImage.src = img; } diff --git a/samples/plp/index.html b/samples/plp/index.html index 2489757..8e18b9d 100644 --- a/samples/plp/index.html +++ b/samples/plp/index.html @@ -50,7 +50,7 @@

Organization (11 products)

@@ -70,7 +70,7 @@

Organization (11 products)

@@ -90,7 +90,7 @@

Organization (11 products)

@@ -110,7 +110,7 @@

Organization (11 products)

@@ -133,7 +133,7 @@

Organization (11 products)

@@ -153,7 +153,7 @@

Organization (11 products)

@@ -173,7 +173,7 @@

Organization (11 products)

@@ -193,7 +193,7 @@

Organization (11 products)

@@ -216,7 +216,7 @@

Organization (11 products)

@@ -236,7 +236,7 @@

Organization (11 products)

@@ -256,7 +256,7 @@

Organization (11 products)

diff --git a/samples/starter/index.html b/samples/starter/index.html index 59a0258..a3f7620 100644 --- a/samples/starter/index.html +++ b/samples/starter/index.html @@ -13,14 +13,14 @@ padding:0; } - + - +