update hash bugfix
This commit is contained in:
parent
c6ee20bf01
commit
bfcaacc099
7 changed files with 10979 additions and 4 deletions
3
dist/xrfragment.aframe.all.js
vendored
3
dist/xrfragment.aframe.all.js
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* v0.5.1 generated at Wed Jul 24 12:06:14 PM UTC 2024
|
* v0.5.1 generated at Thu Jul 25 09:31:00 AM UTC 2024
|
||||||
* https://xrfragment.org
|
* https://xrfragment.org
|
||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
@ -2186,6 +2186,7 @@ xrf.navigator.updateHash = (hash,opts) => {
|
||||||
document.location.hash = hash
|
document.location.hash = hash
|
||||||
xrf.navigator.updateHash.active = true
|
xrf.navigator.updateHash.active = true
|
||||||
}
|
}
|
||||||
|
xrf.navigator.updateHash.active = true
|
||||||
|
|
||||||
xrf.navigator.pushState = (file,hash) => {
|
xrf.navigator.pushState = (file,hash) => {
|
||||||
if( file == document.location.search.substr(1) ) return // page is in its default state
|
if( file == document.location.search.substr(1) ) return // page is in its default state
|
||||||
|
|
|
||||||
3
dist/xrfragment.aframe.js
vendored
3
dist/xrfragment.aframe.js
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* v0.5.1 generated at Wed Jul 24 12:06:14 PM UTC 2024
|
* v0.5.1 generated at Thu Jul 25 09:30:59 AM UTC 2024
|
||||||
* https://xrfragment.org
|
* https://xrfragment.org
|
||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
@ -2184,6 +2184,7 @@ xrf.navigator.updateHash = (hash,opts) => {
|
||||||
document.location.hash = hash
|
document.location.hash = hash
|
||||||
xrf.navigator.updateHash.active = true
|
xrf.navigator.updateHash.active = true
|
||||||
}
|
}
|
||||||
|
xrf.navigator.updateHash.active = true
|
||||||
|
|
||||||
xrf.navigator.pushState = (file,hash) => {
|
xrf.navigator.pushState = (file,hash) => {
|
||||||
if( file == document.location.search.substr(1) ) return // page is in its default state
|
if( file == document.location.search.substr(1) ) return // page is in its default state
|
||||||
|
|
|
||||||
1
dist/xrfragment.model-viewer.js
vendored
1
dist/xrfragment.model-viewer.js
vendored
|
|
@ -2181,6 +2181,7 @@ xrf.navigator.updateHash = (hash,opts) => {
|
||||||
document.location.hash = hash
|
document.location.hash = hash
|
||||||
xrf.navigator.updateHash.active = true
|
xrf.navigator.updateHash.active = true
|
||||||
}
|
}
|
||||||
|
xrf.navigator.updateHash.active = true
|
||||||
|
|
||||||
xrf.navigator.pushState = (file,hash) => {
|
xrf.navigator.pushState = (file,hash) => {
|
||||||
if( file == document.location.search.substr(1) ) return // page is in its default state
|
if( file == document.location.search.substr(1) ) return // page is in its default state
|
||||||
|
|
|
||||||
10969
dist/xrfragment.module.js
vendored
10969
dist/xrfragment.module.js
vendored
File diff suppressed because it is too large
Load diff
3
dist/xrfragment.three.js
vendored
3
dist/xrfragment.three.js
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* v0.5.1 generated at Wed Jul 24 12:06:14 PM UTC 2024
|
* v0.5.1 generated at Thu Jul 25 09:30:59 AM UTC 2024
|
||||||
* https://xrfragment.org
|
* https://xrfragment.org
|
||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
@ -2184,6 +2184,7 @@ xrf.navigator.updateHash = (hash,opts) => {
|
||||||
document.location.hash = hash
|
document.location.hash = hash
|
||||||
xrf.navigator.updateHash.active = true
|
xrf.navigator.updateHash.active = true
|
||||||
}
|
}
|
||||||
|
xrf.navigator.updateHash.active = true
|
||||||
|
|
||||||
xrf.navigator.pushState = (file,hash) => {
|
xrf.navigator.pushState = (file,hash) => {
|
||||||
if( file == document.location.search.substr(1) ) return // page is in its default state
|
if( file == document.location.search.substr(1) ) return // page is in its default state
|
||||||
|
|
|
||||||
3
dist/xrfragment.three.module.js
vendored
3
dist/xrfragment.three.module.js
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* v0.5.1 generated at Wed Jul 24 12:06:14 PM UTC 2024
|
* v0.5.1 generated at Thu Jul 25 09:31:00 AM UTC 2024
|
||||||
* https://xrfragment.org
|
* https://xrfragment.org
|
||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
@ -2184,6 +2184,7 @@ xrf.navigator.updateHash = (hash,opts) => {
|
||||||
document.location.hash = hash
|
document.location.hash = hash
|
||||||
xrf.navigator.updateHash.active = true
|
xrf.navigator.updateHash.active = true
|
||||||
}
|
}
|
||||||
|
xrf.navigator.updateHash.active = true
|
||||||
|
|
||||||
xrf.navigator.pushState = (file,hash) => {
|
xrf.navigator.pushState = (file,hash) => {
|
||||||
if( file == document.location.search.substr(1) ) return // page is in its default state
|
if( file == document.location.search.substr(1) ) return // page is in its default state
|
||||||
|
|
|
||||||
|
|
@ -164,6 +164,7 @@ xrf.navigator.updateHash = (hash,opts) => {
|
||||||
document.location.hash = hash
|
document.location.hash = hash
|
||||||
xrf.navigator.updateHash.active = true
|
xrf.navigator.updateHash.active = true
|
||||||
}
|
}
|
||||||
|
xrf.navigator.updateHash.active = true
|
||||||
|
|
||||||
xrf.navigator.pushState = (file,hash) => {
|
xrf.navigator.pushState = (file,hash) => {
|
||||||
if( file == document.location.search.substr(1) ) return // page is in its default state
|
if( file == document.location.search.substr(1) ) return // page is in its default state
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue