diff options
Diffstat (limited to 't/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecseimagemagick.js')
-rw-r--r-- | t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecseimagemagick.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecseimagemagick.js b/t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecseimagemagick.js new file mode 100644 index 0000000..cd6d908 --- /dev/null +++ b/t/recipes/checks/files/privacy-breach/files-privacybreach/build-spec/orig/src/privacy-breach-google-cse/googlecseimagemagick.js @@ -0,0 +1,9 @@ +// from imagemagick package +google.load('search', '1', {language : 'en'}); +google.setOnLoadCallback(function() { +var customSearchControl = new google.search.CustomSearchControl('002546770416725192290:gpkm0aiuqzq'); +customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); +var options = new google.search.DrawOptions(); +options.setAutoComplete(true); +customSearchControl.draw('cse', options); +}, true); |