MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / loadPagefindScript

Method loadPagefindScript

helpers/pagefind/browser.js:170–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 }
169
170 async loadPagefindScript () {
171 if ( this.pagefind ) return
172
173 const pagefindModule = await loadPagefindBrowserModule()
174 this.pagefind = pagefindModule.default || pagefindModule
175
176 this.pagefind.options({
177 bundlePath: this.bundlePath
178 })
179 }
180
181 async setup () {
182 if ( this.setupState !== 'not-setup' ) {

Callers 1

setupMethod · 0.95

Calls 1

Tested by

no test coverage detected