Fix code styling problems
This commit is contained in:
parent
3f2a25d07c
commit
7268f434b2
9 changed files with 51 additions and 36 deletions
|
@ -118,15 +118,15 @@ Returns:
|
|||
* `event` Event
|
||||
* `type` String - A string identifying the event. Maps to [`NSUserActivity.activityType`](https://developer.apple.com/library/ios/documentation/Foundation/Reference/NSUserActivity_Class/index.html#//apple_ref/occ/instp/NSUserActivity/activityType).
|
||||
* `userInfo` Object - Contains app-specific state stored by the activity on
|
||||
another device. Currently only string data is supported.
|
||||
another device. Currently only string data is supported.
|
||||
|
||||
Emitted during [handoff](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/Handoff/HandoffFundamentals/HandoffFundamentals.html) when an activity from a different device wants to be
|
||||
resumed. You should call `event.preventDefault()` if you want to handle this
|
||||
event.
|
||||
Emitted during [handoff][handoff] when an activity from a different device wants
|
||||
to be resumed. You should call `event.preventDefault()` if you want to handle
|
||||
this event.
|
||||
|
||||
A user activity can be continued only in an app that has the same developer
|
||||
Team ID as the activity's source app and that supports the activity's type.
|
||||
Supported activity types are specified in the app's Info.plist under the
|
||||
A user activity can be continued only in an app that has the same developer Team
|
||||
ID as the activity's source app and that supports the activity's type.
|
||||
Supported activity types are specified in the app's `Info.plist` under the
|
||||
`NSUserActivityTypes` key.
|
||||
|
||||
### Event: 'browser-window-blur'
|
||||
|
@ -503,12 +503,12 @@ app.on('ready', function() {
|
|||
### `app.setUserActivity(type, userInfo)` _OS X_
|
||||
|
||||
* `type` String - Uniquely identifies the activity. It's recommended to use a
|
||||
reverse-DNS string.
|
||||
reverse-DNS string.
|
||||
* `userInfo` Object - App-specific state to store for use by another device.
|
||||
Currently only string data is supported.
|
||||
Currently only string data is supported.
|
||||
|
||||
Creates an `NSUserActivity` and sets it as the current activity. The activity
|
||||
is eligible for [handoff](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/Handoff/HandoffFundamentals/HandoffFundamentals.html) to another device afterward.
|
||||
is eligible for [handoff][handoff] to another device afterward.
|
||||
|
||||
### `app.getCurrentActivityType()` _OS X_
|
||||
|
||||
|
@ -600,5 +600,5 @@ Sets the `image` associated with this dock icon.
|
|||
[tasks]:http://msdn.microsoft.com/en-us/library/windows/desktop/dd378460(v=vs.85).aspx#tasks
|
||||
[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx
|
||||
[CFBundleURLTypes]: https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-102207-TPXREF115
|
||||
[LSCopyDefaultHandlerForURLScheme]:
|
||||
https://developer.apple.com/library/mac/documentation/Carbon/Reference/LaunchServicesReference/#//apple_ref/c/func/LSCopyDefaultHandlerForURLScheme
|
||||
[LSCopyDefaultHandlerForURLScheme]: https://developer.apple.com/library/mac/documentation/Carbon/Reference/LaunchServicesReference/#//apple_ref/c/func/LSCopyDefaultHandlerForURLScheme
|
||||
[handoff]: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/Handoff/HandoffFundamentals/HandoffFundamentals.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue