Skip to content
Snippets Groups Projects
Commit 55a7fc3d authored by joni's avatar joni
Browse files

Remove logs

parent 99052239
No related branches found
No related tags found
No related merge requests found
......@@ -16,16 +16,13 @@ function ShortPress(el, button, onActivate) {
ShortPress.prototype = {
onButtonDown(event) {
console.log("down");
var self = this;
this.pressTimer = window.setTimeout(function() {
console.log("activate");
self.onActivate(event);
}, this.timeOut);
},
onButtonUp(event) {
console.log("up");
clearTimeout(this.pressTimer);
},
......@@ -35,5 +32,4 @@ ShortPress.prototype = {
}
};
console.log("foo");
AFRAME.registerInputActivator("shortpress", ShortPress);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment