diff --git a/js/index.js b/js/index.js index 4bd317c..7b1dd74 100644 --- a/js/index.js +++ b/js/index.js @@ -2,7 +2,7 @@ "use strict"; // Start of use strict function viewManifest(manifest) { - window.location.href = '/uv.html?manifest=' + manifest; + window.location.href = 'https://uv-v4.netlify.app#?manifest=' + manifest; } var manifest = Utils.Urls.getQuerystringParameter('manifest'); diff --git a/js/index.min.js b/js/index.min.js index 94a5c8c..97324ed 100644 --- a/js/index.min.js +++ b/js/index.min.js @@ -1,6 +1,6 @@ /*! * Start Bootstrap - v1.0.0 (https://github.com/UniversalViewer/universalviewer.github.io#readme) - * Copyright 2013-2020 Edward Silverton (http://edsilv.com) + * Copyright 2013-2021 Edward Silverton (http://edsilv.com) * Licensed under () */ -!function(e){"use strict";function a(a){window.location.href="/uv.html?manifest="+a}var t=Utils.Urls.getQuerystringParameter("manifest");t&&a(t),e("a.page-scroll").bind("click",function(a){var t=e(this);e("html, body").stop().animate({scrollTop:e(t.attr("href")).offset().top-50},1250,"easeInOutExpo"),a.preventDefault()}),e("body").scrollspy({target:".navbar-fixed-top",offset:51}),e(".navbar-collapse ul li a").click(function(){e(".navbar-toggle:visible").click()}),e("#mainNav").affix({offset:{top:100}}),window.sr=ScrollReveal(),sr.reveal(".sr-icons",{duration:600,scale:.3,distance:"0px"},200),sr.reveal(".sr-button",{duration:1e3,delay:200}),sr.reveal(".sr-contact",{duration:600,scale:.3,distance:"0px"},300);var n=e("#manifest");n.click(function(){e(this).select()}),e("#viewManifest").on("click",function(){a(n.val())});var i=e(".showcase-box"),o=Math.floor(Math.random()*i.length),r=e(i[o]).data("manifest");n.val(r)}(jQuery); \ No newline at end of file +!function(e){"use strict";function t(t){window.location.href="https://uv-v4.netlify.app#?manifest="+t}var a=Utils.Urls.getQuerystringParameter("manifest");a&&t(a),e("a.page-scroll").bind("click",function(t){var a=e(this);e("html, body").stop().animate({scrollTop:e(a.attr("href")).offset().top-50},1250,"easeInOutExpo"),t.preventDefault()}),e("body").scrollspy({target:".navbar-fixed-top",offset:51}),e(".navbar-collapse ul li a").click(function(){e(".navbar-toggle:visible").click()}),e("#mainNav").affix({offset:{top:100}}),window.sr=ScrollReveal(),sr.reveal(".sr-icons",{duration:600,scale:.3,distance:"0px"},200),sr.reveal(".sr-button",{duration:1e3,delay:200}),sr.reveal(".sr-contact",{duration:600,scale:.3,distance:"0px"},300);var n=e("#manifest");n.click(function(){e(this).select()}),e("#viewManifest").on("click",function(){t(n.val())});var i=e(".showcase-box"),o=Math.floor(Math.random()*i.length),s=e(i[o]).data("manifest");n.val(s)}(jQuery); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 421cbba..49e8435 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,10 +4,10 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@types/jquery": { - "version": "2.0.49", - "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-2.0.49.tgz", - "integrity": "sha1-lb1wZMrr9lveEEKd/0kaGuoFtn0=", + "@types/node": { + "version": "8.10.52", + "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.52.tgz", + "integrity": "sha512-2RbW7WXeLex6RI+kQSxq6Ym0GiVcODeQ4Km7MnnTX5BHdOGQnqVa+s6AUmAW+OFYAJ8wv9QxvNZXm7/kBdGTVw==", "dev": true }, "accepts": { @@ -1924,6 +1924,14 @@ "graceful-fs": "^4.1.2", "jsonfile": "^3.0.0", "universalify": "^0.1.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true + } } }, "fs.realpath": { @@ -2168,13 +2176,20 @@ "graceful-fs": "~1.2.0", "inherits": "1", "minimatch": "~0.2.11" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true + } } }, "graceful-fs": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz", - "integrity": "sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q=", - "dev": true + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" }, "inherits": { "version": "1.0.2", @@ -2209,12 +2224,6 @@ "sparkles": "^1.0.0" } }, - "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", - "dev": true - }, "gulp": { "version": "3.9.1", "resolved": "https://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz", @@ -2926,10 +2935,7 @@ "jquery-plugins": { "version": "git://github.com/edsilv/jquery-plugins.git#e03d384e56b85b37e6a1c814498a42a0ba321bd8", "from": "edsilv/jquery-plugins", - "dev": true, - "requires": { - "@types/jquery": "^2.0.40" - } + "dev": true }, "jsbn": { "version": "0.1.1", @@ -2966,6 +2972,15 @@ "dev": true, "requires": { "graceful-fs": "^4.1.6" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true, + "optional": true + } } }, "jsprim": { @@ -3021,6 +3036,13 @@ "source-map": "~0.6.0" }, "dependencies": { + "graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true, + "optional": true + }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -3063,6 +3085,14 @@ "pify": "^2.0.0", "pinkie-promise": "^2.0.0", "strip-bom": "^2.0.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true + } } }, "localtunnel": { @@ -3891,6 +3921,14 @@ "graceful-fs": "^4.1.2", "pify": "^2.0.0", "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true + } } }, "performance-now": { @@ -4070,6 +4108,14 @@ "graceful-fs": "^4.1.11", "micromatch": "^3.1.10", "readable-stream": "^2.0.2" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true + } } }, "rechoir": { @@ -5303,7 +5349,7 @@ "from": "edsilv/utils", "dev": true, "requires": { - "@types/jquery": "^2.0.40" + "@types/node": "8.10.52" } }, "utils-merge": { @@ -5384,13 +5430,10 @@ "dev": true }, "graceful-fs": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz", - "integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=", - "dev": true, - "requires": { - "natives": "^1.1.0" - } + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true }, "isarray": { "version": "0.0.1", diff --git a/package.json b/package.json index 19269f7..1cc7552 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,12 @@ "version": "1.0.0", "description": "", "main": "index.html", + "scripts": { + "preinstall": "npx npm-force-resolutions" + }, + "resolutions": { + "graceful-fs": "^4.2.4" + }, "devDependencies": { "bootstrap": "^3.3.7", "browser-sync": "^2.26.7",