1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-27 23:24:06 +00:00
wiki.mbirth.de/javascripts/gcse.coffee

11 lines
320 B
CoffeeScript
Raw Normal View History

2015-02-19 10:20:39 +00:00
---
---
$(document).ready ->
cx = '005859900804634181508%3A3bt_l7jyk2e'
gcse = document.createElement 'script'
gcse.type = 'text/javascript'
gcse.async = true
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx
s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore gcse, s