displace
displace copied to clipboard
About package.json main field optimized
Optimized
package.json
"main": "dist/displace.min.js",
to
"main": "src/displace.js",
src/displace.js
dispatch
import {
generateClamp,
isRelative,
generateMoveFn
} from './utils'; //updated
import {
// mouse
mousedown,
mouseup,
// touch
touchstart,
touchstop
} from './events'; // updated