Skip to content

Commit a64db4b

Browse files
author
Shamsher Ansari
committed
Update exit() to exitApp()
Updated exit() to exitApp() for documentation as the name of the function is exitApp.
1 parent 893fcbe commit a64db4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/utils/platform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* var currentPlatform = ionic.Platform.platform();
4141
* var currentPlatformVersion = ionic.Platform.version();
4242
*
43-
* ionic.Platform.exit(); // stops the app
43+
* ionic.Platform.exitApp(); // stops the app
4444
* });
4545
* ```
4646
*/

0 commit comments

Comments
 (0)