Skip to content

Commit

Permalink
Added support for pass custom search transform
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Mar 27, 2020
1 parent 6353435 commit 64caf62
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions material/assets/javascripts/bundle.aa7a7592.min.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion material/assets/javascripts/bundle.b5589e46.min.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions material/assets/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"assets/javascripts/bundle.js": "assets/javascripts/bundle.b5589e46.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.b5589e46.min.js.map",
"assets/javascripts/bundle.js": "assets/javascripts/bundle.aa7a7592.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.aa7a7592.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.3340e0de.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.3340e0de.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.3bc815f0.min.js",
Expand Down
2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h1>{{ page.title | default(config.site_name, true)}}</h1>
</div>
{% block scripts %}
<script src="{{ 'assets/javascripts/vendor.3340e0de.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.b5589e46.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.aa7a7592.min.js' | url }}"></script>
{%- set translations = {} -%}
{%- for key in [
"clipboard.copy",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/javascripts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export function initialize(config: unknown) {
/* Mount search query */
const query$ = useComponent("search-query")
.pipe(
mountSearchQuery(worker),
mountSearchQuery(worker, { transform: config.search.transform }),
shareReplay(1)
)

Expand Down

0 comments on commit 64caf62

Please sign in to comment.