From fa3f5447088beaa44c49d680ca649483217ccbfa Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 18 Aug 2019 01:22:35 +0200 Subject: [PATCH] Fix README example to be valid JS --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0faee4f..ccabe56 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ let parsed = parseMXC.parse("mxc://pixie.town/qBpNzYpOknBxnSdcbFWrbqWT"); console.log(parsed); // { homeserver: 'pixie.town', id: 'qBpNzYpOknBxnSdcbFWrbqWT' } -let parsed = parseMXC("http://example.com/"); // throws a parseMXC.ParsingError +let invalid = parseMXC("http://example.com/"); // throws a parseMXC.ParsingError ``` ## API