diff --git a/src/activators/shortpress.js b/src/activators/shortpress.js index 494de3f7ab9e7ebb11c04a227740fe9fcd7e6a42..7f47450bef78161554a89569d4a610d7f7691877 100644 --- a/src/activators/shortpress.js +++ b/src/activators/shortpress.js @@ -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);