Skip to content

Commit

Permalink
Rename file to HydeSearch
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 16, 2024
1 parent 716c3c0 commit cf4d641
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This serves two purposes:
- Moved the Vite build step to run before the site build to prevent duplicate media asset transfers in https://github.com/hydephp/develop/pull/2013
- Ported the HydeSearch plugin used for the documentation search to be an Alpine.js implementation in https://github.com/hydephp/develop/pull/2029
- Renamed Blade component `hyde::components.docs.search-widget` to `hyde::components.docs.search-modal` in https://github.com/hydephp/develop/pull/2029
- Added support for customizing the search implementation by creating a `resources/js/hyde-search.js` file in https://github.com/hydephp/develop/pull/2030
- Added support for customizing the search implementation by creating a `resources/js/HydeSearch.js` file in https://github.com/hydephp/develop/pull/2030

### Deprecated

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
</div>

<script>
{!! file_get_contents(file_exists(Hyde::path('resources/js/hyde-search.js'))
? Hyde::path('resources/js/hyde-search.js')
: Hyde::vendorPath('resources/js/hyde-search.js')
{!! file_get_contents(file_exists(Hyde::path('resources/js/HydeSearch.js'))
? Hyde::path('resources/js/HydeSearch.js')
: Hyde::vendorPath('resources/js/HydeSearch.js')
) !!}
document.addEventListener('alpine:init', () => {
Expand Down

0 comments on commit cf4d641

Please sign in to comment.