@twab/visualization 0.9.6 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -905,7 +905,7 @@
|
|
|
905
905
|
const Semaphor = [];
|
|
906
906
|
for (let frame of array) {
|
|
907
907
|
const image = document.createElement('img');
|
|
908
|
-
image.src = frame.title === -1 ?
|
|
908
|
+
image.src = frame.title === -1 ? null : `${sessionStorage.getItem('base_url')}frames/${frame.title}${server == 'alternative' ? '?server=alt' : ''}`;
|
|
909
909
|
image.style.maxWidth = frame.title === -1 ? '80%' : '100%';
|
|
910
910
|
image.style.contain = 'true';
|
|
911
911
|
Semaphor.push(new Promise(resolve => {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twab/visualization",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.8",
|
|
4
4
|
"main": "dist/visualization.umd.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
8
8
|
"scripts": {
|
|
9
9
|
"serve": "vue-cli-service serve example/main.js",
|
|
10
|
-
"build": "
|
|
10
|
+
"build": "npx rollup -c"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|