Skip to content

Commit

Permalink
fix(dev): Fixed the dev example, targeting an existing index
Browse files Browse the repository at this point in the history
  • Loading branch information
acodereviewersbestfriend52 authored and pixelastic committed Mar 10, 2016
1 parent ce3b679 commit 5483cfc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dev/app.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import docsearch from '../index.js';

docsearch({
apiKey: '52a6d7ab710fcef44537c3cff5290e55',
indexName: 'tim_stripe',
inputSelector: '#search-input'
apiKey: 'e3d767b736584dbe6d4c35f7cf7d4633',
indexName: 'react-native',
inputSelector: '#search-input',
autocompleteOptions: {
debug: true
}
});

document.getElementById('search-input').focus();

0 comments on commit 5483cfc

Please sign in to comment.