cordova-elm-template-jumpstart
Version:
Cordova template to jumpstart development using Elm and Webpack
12 lines (8 loc) • 311 B
JavaScript
// https://hammerjs.github.io/touch-emulator/
import TouchEmulator from "hammer-touchemulator";
if(IS_DEV) {
console.debug("Loading the Hammer.js touch emulator", IS_DEV);
TouchEmulator();
} else {
console.debug("NOT loading the Hammer.js touch emulator, so I hope you have a touchscreen!", IS_DEV);
}