1
0
Fork 0

fix(dev): Fixed the dev example, targeting an existing index

This commit is contained in:
Pixelastic 2016-03-10 11:35:51 +01:00
parent 31e5d139d5
commit df13e343fd

View file

@ -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();