Fix typo and remove extraneous doc entries.

This commit is contained in:
Rafael Nobre 2017-07-27 17:24:59 -03:00 committed by Cheng Zhao
parent a870799c32
commit f6ac00532f

View file

@ -799,13 +799,10 @@ Returns `String` - The type of the currently running activity.
* `type` String - Uniquely identifies the activity. Maps to
[`NSUserActivity.activityType`][activity-type].
* `userInfo` Object - App-specific state to store for use by another device.
* `webpageURL` String (optional) - The webpage to load in a browser if no suitable app is
installed on the resuming device. The scheme must be `http` or `https`.
Invalidates de current Handoff user activity.
Invalidates the current Handoff user activity.
### `app.updateCurrentActivity(type, userInfo[, webpageURL])` _macOS_
### `app.updateCurrentActivity(type, userInfo)` _macOS_
* `type` String - Uniquely identifies the activity. Maps to
[`NSUserActivity.activityType`][activity-type].