File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ API is unstable. We welcome any idea.
7
7
## Usage
8
8
9
9
``` 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);
12
12
13
13
// add a widget
14
14
instant .addWidget (
15
- instantSearch .widgets .searchBox ({
15
+ instantsearch .widgets .searchBox ({
16
16
container: ' #search-box' ,
17
17
placeholder: ' Search for libraries in France...'
18
18
})
Original file line number Diff line number Diff line change 1
1
var instantsearch = require ( '../' ) ;
2
2
3
- var instant = new instantsearch . instantsearch (
3
+ var instant = new instantsearch . InstantSearch (
4
4
'JTH1JDTDFT' ,
5
5
'34a4c1b994546fbec45a670a06ba0c33' ,
6
6
'Bibliotheques'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module.exports = {
3
3
output : {
4
4
path : './dist/' ,
5
5
filename : 'instantsearch.js' ,
6
- library : 'instantSearch ' ,
6
+ library : 'instantsearch ' ,
7
7
libraryTarget : 'umd'
8
8
} ,
9
9
module : {
You can’t perform that action at this time.
0 commit comments