File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 ">
55 < title > A-Frame Input Mapping Component - Basic</ title >
66 < meta name ="description " content ="Basic example for Input Mapping component. "> </ meta >
7- < script src ="https://aframe.io/releases/0.7.0 /aframe.min.js "> </ script >
7+ < script src ="https://aframe.io/releases/0.7.1 /aframe.min.js "> </ script >
88 < script src ="../../dist/aframe-input-mapping-component.min.js "> </ script >
99 </ head >
1010 < body >
1111 < a-scene >
1212 < a-assets >
13- < img id ="groundTexture " src ="https://cdn.aframe.io/a-painter/images/floor.jpg ">
14- < img id ="skyTexture " src ="https://cdn.aframe.io/a-painter/images/sky.jpg ">
13+ < img id ="groundTexture " src ="https://cdn.aframe.io/a-painter/images/floor.jpg " crossorigin =" anonymous " / >
14+ < img id ="skyTexture " src ="https://cdn.aframe.io/a-painter/images/sky.jpg " crossorigin =" anonymous " / >
1515 </ a-assets >
1616
1717 < a-entity id ="leftHand " oculus-touch-controls ="hand: left "
Original file line number Diff line number Diff line change 11{
22 "name" : " aframe-input-mapping-component" ,
3- "version" : " 0.1.2 " ,
3+ "version" : " 0.1.3 " ,
44 "description" : " A Input Mapping component for A-Frame." ,
55 "main" : " src/index.js" ,
66 "unpkg" : " dist/aframe-input-mapping-component.min.js" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ DoublePress.prototype = {
1414 onButtonDown ( event ) {
1515 var time = performance . now ( ) ;
1616 if ( time - this . lastTime < this . timeOut ) {
17- this . onActivate ( event . detail ) ;
17+ this . onActivate ( event ) ;
1818 } else {
1919 this . lastTime = time ;
2020 }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ DoubleTouch.prototype = {
1414 onButtonDown ( event ) {
1515 var time = performance . now ( ) ;
1616 if ( time - this . lastTime < this . timeOut ) {
17- this . onActivate ( event . detail ) ;
17+ this . onActivate ( event ) ;
1818 } else {
1919 this . lastTime = time ;
2020 }
You can’t perform that action at this time.
0 commit comments