Skip to content

Commit

Permalink
Remove outdated
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Jae-Yoon Chung committed May 3, 2019
1 parent a85e2e2 commit e52925a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions examples/input.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<meta name="msapplication-tap-highlight" content="no"/>
<link rel="stylesheet" href="assets/style.css">
<title>Hammer.js</title>
<title>Jammer.js</title>
</head>
<body>
<div class="container">
Expand All @@ -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) {
Expand All @@ -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);

Expand Down
3 changes: 1 addition & 2 deletions examples/nested.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<meta name="msapplication-tap-highlight" content="no"/>
<link rel="stylesheet" href="assets/style.css">
<title>Hammer.js</title>
<title>Jammer.js</title>
<style>

.container {
Expand Down Expand Up @@ -222,7 +222,6 @@ <h1>Nested Pan recognizers</h1>
video.width = 320;
video.height = 240;
var canvas = document.getElementById("handtrackjs").getElementsByTagName("canvas")[0];
const context = canvas.getContext("2d");

var options = {
transform: function (prediction, video, target) {
Expand Down
2 changes: 1 addition & 1 deletion examples/visual.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="assets/style.css">
<title>Hammer.js</title>
<title>Jammer.js</title>

<style>

Expand Down

0 comments on commit e52925a

Please sign in to comment.