File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 >
129129 < script type ="module " src ="https://unpkg.com/@github/auto-complete-element@latest/dist/bundle.js "> </ script >
130130 </ body >
131131</ html >
132-
132+
You can’t perform that action at this time.
0 commit comments