ThrowMsg(ConversionException, "Wrong first parameter type.");
}
+ CalendarConverter converter(context);
+
JSObjectRef arg = JSValueToObject(context, arguments[0], exception);
CalendarEventPtr item = JSCalendarEvent::getPrivateObject(arg);
if (!item) {
}
bool updateAllInstances = true; // Set the default value.
- CalendarConverter converter(context);
if (argumentCount>=2) {
updateAllInstances = converter.toBool(arguments[1]);
}