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
pixelastic committed Mar 10, 2016
1 parent 31e5d13 commit df13e34
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dev/app.js
@@ -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 df13e34

Please sign in to comment.