File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ var instant = new instantsearch.InstantSearch(
9
9
) ;
10
10
11
11
instant . addWidget (
12
- instantsearch . widgets . searchbox ( {
12
+ instantsearch . widgets . searchBox ( {
13
13
container : '#search-box' ,
14
14
placeholder : 'Search for products' ,
15
15
addClass : 'form-control'
Original file line number Diff line number Diff line change 3
3
module . exports = {
4
4
InstantSearch : require ( './lib/InstantSearch' ) ,
5
5
widgets : {
6
- searchbox : require ( './widgets/searchbox' ) ,
7
- results : require ( './widgets/hits' )
6
+ searchBox : require ( './widgets/search-box/' ) ,
8
7
}
9
8
} ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function searchbox(params) {
16
16
setQuery = { bind ( helper . setQuery , helper ) }
17
17
search = { bind ( helper . search , helper ) }
18
18
placeholder = { params . placeholder }
19
- inputClass = { params . addClass } /> , container
19
+ inputClass = { params . cssClass } /> , container
20
20
) ;
21
21
}
22
22
} ;
You can’t perform that action at this time.
0 commit comments