From b87705dfc91379c643914d5d9fb323e3ad1138fa Mon Sep 17 00:00:00 2001 From: Jaid Date: Sun, 12 Jan 2020 21:36:53 +0100 Subject: [PATCH] docs: Rebuilt readme with `tldw` --- readme.md | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/readme.md b/readme.md index dac3c37..f721023 100644 --- a/readme.md +++ b/readme.md @@ -36,24 +36,6 @@ yarn add crop-string@^2.0.0 ``` -## Try it out - - - -Open a browser's JavaScript console and execute: - -```javascript -const scriptElement = document.createElement("script"); -scriptElement.setAttribute("type", "text/javascript"); -scriptElement.setAttribute("src", "https://cdn.jsdelivr.net/npm/crop-string@2.0.0/index.js"); -document.querySelector("head").appendChild(scriptElement); -``` - -crop-string is now stored in the global variable `cropString`. The following console expression should return something other than `"undefined"`. - -```javascript -typeof cropString.default -```