Skip to content

Commit 6459ba6

Browse files
committed
Update url-demo.js from https://github.com/upa-url/upa
From commit: upa-url/upa@a3b9e2c
1 parent 9db0d5b commit 6459ba6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

demo/url-demo.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ function showResult(url) {
4444
}
4545

4646
function onInpChange() {
47-
showResult(getUrl());
47+
const url = getUrl();
48+
showResult(url);
49+
url.delete();
4850
}
4951

5052
function onSetterChange() {

0 commit comments

Comments
 (0)