in src/windows/VibrationProxy.js [24:39]
function checkReqs (actionName, fail) {
if (
!(
Windows.Phone &&
Windows.Phone.Devices &&
Windows.Phone.Devices.Notification &&
Windows.Phone.Devices.Notification.VibrationDevice
) &&
WinJS.Utilities.isPhone !== true
) {
fail(actionName + ' is unsupported by this platform.');
return false;
}
return true;
}