From 55a7fc3dc9db6baad2b39b748a606abbd2bf5f77 Mon Sep 17 00:00:00 2001 From: joni <johnfshaughnessy@gmail.com> Date: Fri, 8 Dec 2017 16:41:16 -0800 Subject: [PATCH] Remove logs --- src/activators/shortpress.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/activators/shortpress.js b/src/activators/shortpress.js index 494de3f7a..7f47450be 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); -- GitLab