Sha256: cb7f4c6262efeaa844129bd5fde2305372119b0540e1b1539698b970803dc6da
Contents?: true
Size: 1.1 KB
Versions: 8
Compression:
Stored size: 1.1 KB
Contents
-# TODO: decide if and how to include Google CDN's jQuery with fallback to jquery-rails -# render javascript passed as local or fall back to application javascript - javascript ||= "application" %script{:type=>'text/javascript', :src=>"/js/#{javascript}.js"} -# Google analytics - Change UA-XXXXX-X to be your site's ID TODO: decide whether this is included by default and removed if not required or create a partial so that it's inserted only if site id is given :javascript window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']]; Modernizr.load({ load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js' }); -# Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6. chromium.org/developers/how-tos/chrome-frame-getting-started TODO: decide if and how chrome frame should be included /[if lt IE 7 ] %script{ :type => "text/javascript", :src => "//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js" } :javascript window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})
Version data entries
8 entries across 8 versions & 1 rubygems