From 3d4b1dc5385095809e922ab2769e052730d7365c Mon Sep 17 00:00:00 2001 From: jos Date: Mon, 7 Mar 2016 10:43:02 +0100 Subject: [PATCH] Added a comment --- lib/hammerUtil.js | 3 +++ test/timeline.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/hammerUtil.js b/lib/hammerUtil.js index d20a2376..caafb7de 100644 --- a/lib/hammerUtil.js +++ b/lib/hammerUtil.js @@ -50,6 +50,9 @@ exports.offRelease = exports.offTouch; /** * Hack the PinchRecognizer such that it doesn't prevent default behavior * for vertical panning. + * + * Yeah ... this is quite a hack ... see https://github.com/hammerjs/hammer.js/issues/932 + * * @param {Hammer.Pinch} pinchRecognizer * @return {Hammer.Pinch} returns the pinchRecognizer */ diff --git a/test/timeline.html b/test/timeline.html index 7887b340..6c466b90 100644 --- a/test/timeline.html +++ b/test/timeline.html @@ -120,7 +120,7 @@ '
Click here! (div)
', start: now.clone().add(-2, 'days').toDate() }, {_id: 3, content: 'item 3', start: now.clone().add(2, 'days').toDate(), style: 'color: red;'}, { - _id: 4, content: 'item 4 foo bar foo bar foo bar foo bar foo bar', + _id: 4, content: 'item 4 foo bar foo bar foo bar foo bar foo bar Normal link', start: now.clone().add(0, 'days').toDate(), end: now.clone().add(7, 'days').toDate(), title: 'hello title!'