Skip to content

Commit 9c5bda8

Browse files
authored
Update index.html
1 parent c4d99ef commit 9c5bda8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@
109109
}
110110
return Promise.resolve(new Response(robotsList));
111111
}
112-
// fetchResult must be a function that return a Promise of string and that accepts as parameters an element and an URL
113-
document.querySelector("auto-complete#custom-fetching-method").fetchResult = async (el, url) => (await fetch(url)).text();
112+
// fetchResult must be a function that return a Promise of string and that accepts as parameters a URL
113+
document.querySelector("auto-complete#custom-fetching-method").fetchResult = async (url) => (await fetch(url)).text();
114114
</script>
115115

116116
<form>
@@ -129,4 +129,4 @@
129129
<script type="module" src="https://unpkg.com/@github/auto-complete-element@latest/dist/bundle.js"></script>
130130
</body>
131131
</html>
132-
132+

0 commit comments

Comments
 (0)