From aeb37941bb32d6c28723e4d50947e9f36c300fdf Mon Sep 17 00:00:00 2001 From: Jessica Lord Date: Tue, 25 Aug 2015 10:12:21 -0700 Subject: [PATCH] Replace platform notes with one general note --- docs/api/app.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/docs/api/app.md b/docs/api/app.md index 7e5ec57d5a41..db34d37ec59e 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -152,6 +152,8 @@ Emitted when the gpu process crashes. The `app` object has the following methods: +**Note** Some methods are only available on specific operating systems and are labeled as such. + ### `app.quit()` Try to close all windows. The `before-quit` event will emitted first. If all @@ -267,7 +269,6 @@ Adds `tasks` to the [Tasks][tasks] category of the JumpList on Windows. consists of two or more icons, set this value to identify the icon. If an icon file consists of one icon, this value is 0. -**Note:** This API is only available on Windows. ### `app.commandLine.appendSwitch(switch[, value])` @@ -297,49 +298,35 @@ or the request is canceled. Returns an ID representing the request. -**Note:** This API is only available on OS X. - ### `app.dock.cancelBounce(id)` _OS X_ * `id` Integer Cancel the bounce of `id`. -**Note:** This API is only available on OS X. - ### `app.dock.setBadge(text)` _OS X_ * `text` String Sets the string to be displayed in the dock’s badging area. -**Note:** This API is only available on OS X. - ### `app.dock.getBadge()` _OS X_ Returns the badge string of the dock. -**Note:** This API is only available on OS X. - ### `app.dock.hide()` _OS X_ Hides the dock icon. -**Note:** This API is only available on OS X. - ### `app.dock.show()` _OS X_ Shows the dock icon. -**Note:** This API is only available on OS X. - ### `app.dock.setMenu(menu)` _OS X_ * `menu` Menu Sets the application's [dock menu][dock-menu]. -**Note:** This API is only available on OS X. - [dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103 [tasks]:http://msdn.microsoft.com/en-us/library/windows/desktop/dd378460(v=vs.85).aspx#tasks