Merge pull request #1583 from Camc314/migrate-to-ES6-28

Migration of touchhelper and taskbuttons to ES6 modules
This commit is contained in:
dkanada 2020-07-23 11:46:30 +09:00 committed by GitHub
commit 7a33e90693
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 179 additions and 173 deletions

View file

@ -1533,7 +1533,7 @@ define(['playbackManager', 'dom', 'inputManager', 'datetime', 'itemHelper', 'med
if (browser.touch) {
(function () {
require(['touchHelper'], function (TouchHelper) {
self.touchHelper = new TouchHelper(view, {
self.touchHelper = new TouchHelper.default(view, {
swipeYThreshold: 30,
triggerOnMove: true,
preventDefaultOnMove: true,