Skip to content

Commit bdcbf18

Browse files
author
vvo
committed
fix: instantSearch => instantsearch
cc @redox fixes #7
1 parent 4cdf2e2 commit bdcbf18

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ API is unstable. We welcome any idea.
77
## Usage
88

99
```js
10-
var instantSearch = require('instantsearch.js');
11-
var instant = new instantSearch.InstantSearch(appId, apiKey, indexName);
10+
var instantsearch = require('instantsearch.js');
11+
var instant = new instantsearch.InstantSearch(appId, apiKey, indexName);
1212

1313
// add a widget
1414
instant.addWidget(
15-
instantSearch.widgets.searchBox({
15+
instantsearch.widgets.searchBox({
1616
container: '#search-box',
1717
placeholder: 'Search for libraries in France...'
1818
})

example/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var instantsearch = require('../');
22

3-
var instant = new instantsearch.instantsearch(
3+
var instant = new instantsearch.InstantSearch(
44
'JTH1JDTDFT',
55
'34a4c1b994546fbec45a670a06ba0c33',
66
'Bibliotheques'

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
output: {
44
path: './dist/',
55
filename: 'instantsearch.js',
6-
library: 'instantSearch',
6+
library: 'instantsearch',
77
libraryTarget: 'umd'
88
},
99
module: {

0 commit comments

Comments
 (0)