Skip to content

Commit 379730c

Browse files
authored
Remove data-fetch-url from example code (#205)
1 parent e3da825 commit 379730c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

backends/go/site/static/md/examples/dialogs_browser.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ Dialogs can be triggered with the standard browser `prompt` and `confirm` within
1818
<button
1919
id="dialogs"
2020
data-store="{prompt:'foo',confirm:false}"
21-
data-fetch-url=""
22-
data-on-click="$prompt=prompt('Enter a string',$prompt);$confirm=confirm('Are you sure?');$confirm && $$get('/examples/dialogs___browser/sure')"
21+
data-on-click="$prompt=prompt('Enter a string',$prompt);$confirm=confirm('Are you sure?'); $confirm && $$get('/examples/dialogs___browser/sure')"
2322
>
2423
Click Me
2524
</button>

backends/go/site/static/md/examples/lazy_load.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
This example shows how to lazily load an element on a page. We start with an initial state that looks like this:
1919

2020
```html
21-
<div data-fetch-url="" data-on-load="$$get('/examples/lazy_load/graph')">
21+
<div data-on-load="$$get('/examples/lazy_load/graph')">
2222
Loading...
2323
</div>
2424
```

0 commit comments

Comments
 (0)