File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
( function ( google ) {
2
2
'use strict' ;
3
3
4
- google . load ( "search" , "1" , { language : "ja" } ) ;
5
- google . setOnLoadCallback ( function ( ) {
6
- // search
7
- var customSearchControl = new google . search . CustomSearchControl ( "001325159752250591701:65aunpq8rlg" ) ;
8
- customSearchControl . setResultSetSize ( google . search . Search . FILTERED_CSE_RESULTSET ) ;
9
- var options = new google . search . DrawOptions ( ) ;
10
- options . enableSearchboxOnly ( "//www.google.com/cse?cx=001325159752250591701:65aunpq8rlg" ) ;
11
- customSearchControl . draw ( 'VimdocJaSearch' , options ) ;
12
- } , true ) ;
4
+ google . load ( "search" , "1" , {
5
+ language : "ja" ,
6
+ callback : function ( ) {
7
+ google . setOnLoadCallback ( function ( ) {
8
+ // search
9
+ var customSearchControl = new google . search . CustomSearchControl ( "001325159752250591701:65aunpq8rlg" ) ;
10
+ customSearchControl . setResultSetSize ( google . search . Search . FILTERED_CSE_RESULTSET ) ;
11
+ var options = new google . search . DrawOptions ( ) ;
12
+ options . enableSearchboxOnly ( "//www.google.com/cse?cx=001325159752250591701:65aunpq8rlg" ) ;
13
+ customSearchControl . draw ( 'VimdocJaSearch' , options ) ;
14
+ } , true ) ;
15
+ }
16
+ } ) ;
13
17
} ) ( google ) ;
You can’t perform that action at this time.
0 commit comments