work in progress [might break]
This commit is contained in:
parent
4487e38c4a
commit
01ea4166a7
3 changed files with 3 additions and 3 deletions
2
dist/xrfragment.aframe.js
vendored
2
dist/xrfragment.aframe.js
vendored
|
|
@ -1118,7 +1118,7 @@ xrf.frag.href = function(v, opts){
|
|||
xrf
|
||||
.emit('href',{click:true,mesh,xrf:v}) // let all listeners agree
|
||||
.then( () => {
|
||||
if( v.string[0] == '#' && v.string.match(/(\||#q)/) ){ // apply modifications to scene
|
||||
if( v.string[0] == '#' && v.string.match(/(\||#q)/) ){ // apply modifications to scene *TODO* decide on queries...
|
||||
console.log("ja")
|
||||
xrf.eval( v.string, xrf.model, xrf.XRF.PV_OVERRIDE )
|
||||
}else xrf.navigator.to(v.string) // or let's surf to HREF!
|
||||
|
|
|
|||
2
dist/xrfragment.three.js
vendored
2
dist/xrfragment.three.js
vendored
|
|
@ -1118,7 +1118,7 @@ xrf.frag.href = function(v, opts){
|
|||
xrf
|
||||
.emit('href',{click:true,mesh,xrf:v}) // let all listeners agree
|
||||
.then( () => {
|
||||
if( v.string[0] == '#' && v.string.match(/(\||#q)/) ){ // apply modifications to scene
|
||||
if( v.string[0] == '#' && v.string.match(/(\||#q)/) ){ // apply modifications to scene *TODO* decide on queries...
|
||||
console.log("ja")
|
||||
xrf.eval( v.string, xrf.model, xrf.XRF.PV_OVERRIDE )
|
||||
}else xrf.navigator.to(v.string) // or let's surf to HREF!
|
||||
|
|
|
|||
2
dist/xrfragment.three.module.js
vendored
2
dist/xrfragment.three.module.js
vendored
|
|
@ -1118,7 +1118,7 @@ xrf.frag.href = function(v, opts){
|
|||
xrf
|
||||
.emit('href',{click:true,mesh,xrf:v}) // let all listeners agree
|
||||
.then( () => {
|
||||
if( v.string[0] == '#' && v.string.match(/(\||#q)/) ){ // apply modifications to scene
|
||||
if( v.string[0] == '#' && v.string.match(/(\||#q)/) ){ // apply modifications to scene *TODO* decide on queries...
|
||||
console.log("ja")
|
||||
xrf.eval( v.string, xrf.model, xrf.XRF.PV_OVERRIDE )
|
||||
}else xrf.navigator.to(v.string) // or let's surf to HREF!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue