Sha256: 0982a4fb1f975587e741756f133e30c3fe2bacadf04b1aa7b1eaa96dedde6e8d

Contents?: true

Size: 693 Bytes

Versions: 2

Compression:

Stored size: 693 Bytes

Contents

---
layout: null
---

(function() {
    var cx = '{{ site.google_cse_id }}';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
})();

function googleCustomSearchExecute() {
    var input = document.getElementById('cse-search-input-box-id');
    var element = google.search.cse.element.getElement('searchresults-only0');
    if (input.value == '') {
        element.clearAllResults();
    } else {
        element.execute(input.value);
    }
    return false;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chulapa-jekyll-1.0.1 assets/js/google/google-search.js
chulapa-jekyll-1.0.0 assets/js/google/google-search.js