We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4d99ef commit 9c5bda8Copy full SHA for 9c5bda8
1 file changed
examples/index.html
@@ -109,8 +109,8 @@
109
}
110
return Promise.resolve(new Response(robotsList));
111
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();
+ // fetchResult must be a function that return a Promise of string and that accepts as parameters a URL
+ document.querySelector("auto-complete#custom-fetching-method").fetchResult = async (url) => (await fetch(url)).text();
114
</script>
115
116
<form>
@@ -129,4 +129,4 @@
129
<script type="module" src="https://unpkg.com/@github/auto-complete-element@latest/dist/bundle.js"></script>
130
</body>
131
</html>
132
-
+
0 commit comments