From e52925a5144652031f81881f8f07573c02fc6b0e Mon Sep 17 00:00:00 2001 From: Michael Jae-Yoon Chung Date: Thu, 2 May 2019 21:21:18 -0700 Subject: [PATCH] Remove outdated --- examples/input.html | 5 ++--- examples/nested.html | 3 +-- examples/visual.html | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/input.html b/examples/input.html index 934ff33..44119a7 100644 --- a/examples/input.html +++ b/examples/input.html @@ -5,7 +5,7 @@ - Hammer.js + Jammer.js
@@ -29,7 +29,7 @@ var log = document.querySelector("#log"); var debug = document.querySelector("#debug"); - var mc = new Hammer(el, {inputClass: Hammer.TouchInput}); + var mc = new Hammer(el); mc.get('pinch').set({ enable: true }); mc.on("hammer.input", function(ev) { @@ -39,7 +39,6 @@ var video = document.getElementById("handtrackjs").getElementsByTagName("video")[0]; var canvas = document.getElementById("handtrackjs").getElementsByTagName("canvas")[0]; - const context = canvas.getContext("2d"); HandtrackTouch.start(el, video, canvas); diff --git a/examples/nested.html b/examples/nested.html index 4b20afe..72a75de 100644 --- a/examples/nested.html +++ b/examples/nested.html @@ -5,7 +5,7 @@ - Hammer.js + Jammer.js