From 9e856354addeda6826a643e5dabe1cda2985d738 Mon Sep 17 00:00:00 2001 From: Kevin Olson Date: Sun, 18 Jun 2023 22:48:40 -0500 Subject: [PATCH 1/2] Updated old 0.5.0 local server doc reference to 1.4.0 in all non map/minified files. --- dist/aframe-master.js | 2 +- dist/aframe-v1.4.2.js | 2 +- src/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/aframe-master.js b/dist/aframe-master.js index 555585ca74a..b0a8b4e0479 100644 --- a/dist/aframe-master.js +++ b/dist/aframe-master.js @@ -30332,7 +30332,7 @@ if (window.document.currentScript && window.document.currentScript.parentNode != // Error if not using a server. if (!window.cordova && window.location.protocol === 'file:') { - error('This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + 'https://aframe.io/docs/0.5.0/introduction/getting-started.html#using-a-local-server.'); + error('This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + 'https://aframe.io/docs/1.4.0/introduction/installation.html#use-a-local-server.'); } __webpack_require__(/*! present */ "./node_modules/present/lib/present-browser.js"); // Polyfill `performance.now()`. diff --git a/dist/aframe-v1.4.2.js b/dist/aframe-v1.4.2.js index 42aa5491ece..99178f8cbba 100644 --- a/dist/aframe-v1.4.2.js +++ b/dist/aframe-v1.4.2.js @@ -30182,7 +30182,7 @@ if (window.document.currentScript && window.document.currentScript.parentNode != // Error if not using a server. if (!window.cordova && window.location.protocol === 'file:') { - error('This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + 'https://aframe.io/docs/0.5.0/introduction/getting-started.html#using-a-local-server.'); + error('This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + 'https://aframe.io/docs/1.4.0/introduction/installation.html#use-a-local-server.'); } __webpack_require__(/*! present */ "./node_modules/present/lib/present-browser.js"); // Polyfill `performance.now()`. diff --git a/src/index.js b/src/index.js index ba90714ffa5..dde281ae958 100644 --- a/src/index.js +++ b/src/index.js @@ -51,7 +51,7 @@ if (!window.cordova && window.location.protocol === 'file:') { 'This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + - 'https://aframe.io/docs/0.5.0/introduction/getting-started.html#using-a-local-server.'); + 'https://aframe.io/docs/1.4.0/introduction/installation.html#use-a-local-server.'); } require('present'); // Polyfill `performance.now()`. From aaea25594cdd53058627a9c82aa1f655ed369965 Mon Sep 17 00:00:00 2001 From: Kevin Olson Date: Sun, 18 Jun 2023 22:56:10 -0500 Subject: [PATCH 2/2] Removed the changes to dist since those are built from src :) --- dist/aframe-master.js | 2 +- dist/aframe-v1.4.2.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/aframe-master.js b/dist/aframe-master.js index b0a8b4e0479..555585ca74a 100644 --- a/dist/aframe-master.js +++ b/dist/aframe-master.js @@ -30332,7 +30332,7 @@ if (window.document.currentScript && window.document.currentScript.parentNode != // Error if not using a server. if (!window.cordova && window.location.protocol === 'file:') { - error('This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + 'https://aframe.io/docs/1.4.0/introduction/installation.html#use-a-local-server.'); + error('This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + 'https://aframe.io/docs/0.5.0/introduction/getting-started.html#using-a-local-server.'); } __webpack_require__(/*! present */ "./node_modules/present/lib/present-browser.js"); // Polyfill `performance.now()`. diff --git a/dist/aframe-v1.4.2.js b/dist/aframe-v1.4.2.js index 99178f8cbba..42aa5491ece 100644 --- a/dist/aframe-v1.4.2.js +++ b/dist/aframe-v1.4.2.js @@ -30182,7 +30182,7 @@ if (window.document.currentScript && window.document.currentScript.parentNode != // Error if not using a server. if (!window.cordova && window.location.protocol === 'file:') { - error('This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + 'https://aframe.io/docs/1.4.0/introduction/installation.html#use-a-local-server.'); + error('This HTML file is currently being served via the file:// protocol. ' + 'Assets, textures, and models WILL NOT WORK due to cross-origin policy! ' + 'Please use a local or hosted server: ' + 'https://aframe.io/docs/0.5.0/introduction/getting-started.html#using-a-local-server.'); } __webpack_require__(/*! present */ "./node_modules/present/lib/present-browser.js"); // Polyfill `performance.now()`.