From a7b86c7a0f0c5989868114d0757765079e8665a7 Mon Sep 17 00:00:00 2001 From: Elias Kirkwood <94617006+Silloky@users.noreply.github.com> Date: Fri, 24 Mar 2023 09:19:00 +0100 Subject: [PATCH] Updated README.md : improved code block --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f9ce1bb..c828cc1 100644 --- a/README.md +++ b/README.md @@ -29,17 +29,17 @@ Return: Example: - ```javascript - { - OpenUrlExt.open(urlString, - function(){ - console.log("ok"); - }, - function(){ - console.log("ko"); - }); - } - ``` +```javascript +{ +OpenUrlExt.open(urlString, + function(){ + console.log("ok"); + }, + function(){ + console.log("ko"); + }); +} +``` ## Quirks: @@ -47,4 +47,4 @@ Example: - __iOS__: The plugin calls success() when URL or app is opened, and error() in the following cases: - URL is blank - Custom URL is not available - - User cancels opening of custom URL \ No newline at end of file + - User cancels opening of custom URL