"use strict"; const common_vendor = require("../../common/vendor.js"); function vibrate(duration) { if (duration > 400) { common_vendor.index.vibrateLong(); } else { common_vendor.index.vibrateShort(); } } exports.vibrate = vibrate;