Sha256: f8b4822d5f75aca4ff45a747a0ae38ee4887db713b7c26d23e0c57c12382b0ba
Contents?: true
Size: 1.09 KB
Versions: 8
Compression:
Stored size: 1.09 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" = javascript_include_tag "layouts/#{javascript}" -# 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