Skip to content

Commit

Permalink
feat: example now uses the instant_search index
Browse files Browse the repository at this point in the history
Which has the right facets and a good starting point to build the demo
  • Loading branch information
vvo committed Sep 2, 2015
1 parent 4d2cd5e commit 63b4b50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var instantsearch = require('../');
var search = new instantsearch.InstantSearch(
'latency',
'6be0576ff61c053d5f9a3225e2a90f76',
'bestbuy'
'instant_search'
);

search.addWidget(
Expand Down
4 changes: 2 additions & 2 deletions example/templates/hit.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<img class="media-object" src="{{image}}">
</a>
<div class="media-body">
<h3 class="pull-right text-right text-info">${{salePrice}}</h3>
<h3 class="pull-right text-right text-info">${{price}}</h3>
<h4>{{{_highlightResult.name.value}}}</h4>
<p>{{{_highlightResult.shortDescription.value}}}</p>
<p>{{{_highlightResult.description.value}}}</p>
</div>
</div>
</div>

0 comments on commit 63b4b50

Please sign in to comment.