jquery-ui-touch-punch icon indicating copy to clipboard operation
jquery-ui-touch-punch copied to clipboard

How to use ui-touch-punch to webpack

Open tony-show opened this issue 6 years ago • 1 comments

I have some trable this plugin unload in webpack. my script in module imports:

let $ = require('jquery'); require ('jquery-ui'); require ('jquery-ui-touch-punch');

in browser i have this error:

Uncaught TypeError: Cannot read property 'prototype' of undefined at eval (jquery.ui.touch-punch.js:19)

tony-show avatar Apr 02 '19 07:04 tony-show

Which version of jquery is this - that might be the problem. Otherwise try my branch - https://github.com/RWAP/jquery-ui-touch-punch

RWAP avatar Jun 03 '19 22:06 RWAP