diff --git a/dist/xrfragment.aframe.js b/dist/xrfragment.aframe.js index 4ab9953..8f93ca7 100644 --- a/dist/xrfragment.aframe.js +++ b/dist/xrfragment.aframe.js @@ -601,7 +601,7 @@ xrf.init = function(opts){ xrf.Parser.debug = xrf.debug for ( let i in opts ) xrf[i] = opts[i] xrf.emit('init',opts) - return xrf.query + return xrf } xrf.query = function(){ @@ -1422,7 +1422,6 @@ xrf.frag.href = function(v, opts){ let isLocal = v.string[0] == '#' let lastPos = `pos=${camera.position.x.toFixed(2)},${camera.position.y.toFixed(2)},${camera.position.z.toFixed(2)}` - console.dir(lastPos) xrf .emit('href',{click:true,mesh,xrf:v}) // let all listeners agree diff --git a/dist/xrfragment.three.js b/dist/xrfragment.three.js index c09a9b9..5ba8af5 100644 --- a/dist/xrfragment.three.js +++ b/dist/xrfragment.three.js @@ -601,7 +601,7 @@ xrf.init = function(opts){ xrf.Parser.debug = xrf.debug for ( let i in opts ) xrf[i] = opts[i] xrf.emit('init',opts) - return xrf.query + return xrf } xrf.query = function(){ @@ -1422,7 +1422,6 @@ xrf.frag.href = function(v, opts){ let isLocal = v.string[0] == '#' let lastPos = `pos=${camera.position.x.toFixed(2)},${camera.position.y.toFixed(2)},${camera.position.z.toFixed(2)}` - console.dir(lastPos) xrf .emit('href',{click:true,mesh,xrf:v}) // let all listeners agree diff --git a/dist/xrfragment.three.module.js b/dist/xrfragment.three.module.js index 08081fd..373b9b9 100644 --- a/dist/xrfragment.three.module.js +++ b/dist/xrfragment.three.module.js @@ -601,7 +601,7 @@ xrf.init = function(opts){ xrf.Parser.debug = xrf.debug for ( let i in opts ) xrf[i] = opts[i] xrf.emit('init',opts) - return xrf.query + return xrf } xrf.query = function(){ @@ -1422,7 +1422,6 @@ xrf.frag.href = function(v, opts){ let isLocal = v.string[0] == '#' let lastPos = `pos=${camera.position.x.toFixed(2)},${camera.position.y.toFixed(2)},${camera.position.z.toFixed(2)}` - console.dir(lastPos) xrf .emit('href',{click:true,mesh,xrf:v}) // let all listeners agree diff --git a/example/aframe/sandbox/index.html b/example/aframe/sandbox/index.html index 8465243..f9aa17f 100644 --- a/example/aframe/sandbox/index.html +++ b/example/aframe/sandbox/index.html @@ -10,6 +10,7 @@ +