Sha256: 17fc49080175cbcf7dda27d643536e1edba6420183335ecc32d4782a890a14f9

Contents?: true

Size: 1.5 KB

Versions: 9

Compression:

Stored size: 1.5 KB

Contents

/ Google Analytics
  javascript:
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    ga('create', 'UA-XXXXXXXX-X', 'auto');
    ga('require', 'displayfeatures');
    ga('send', 'pageview');

/ Facebook
  #fb-root
  javascript:
    (function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));

/ Google+
  javascript:
    window.___gcfg = {lang: 'ja'};
    (function() {
      var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
      po.src = 'https://apis.google.com/js/platform.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
    })();

/ Twitter
  javascript:
    !function(d,s,id){
      var js,fjs=d.getElementsByTagName(s)[0],
          p=/^http:/.test(d.location)?'http':'https';
      if(!d.getElementById(id)){
        js=d.createElement(s);
        js.id=id;
        js.src=p+'://platform.twitter.com/widgets.js';
        fjs.parentNode.insertBefore(js,fjs);
      }
    }(document, 'script', 'twitter-wjs');

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
middleman-ganbaruzoi-1.0.0 lib/middleman-ganbaruzoi/template/source/partial/_script.slim
middleman-ganbaruzoi-0.0.9 lib/middleman-ganbaruzoi/template/source/partial/_script.slim
middleman-ganbaruzoi-0.0.8 lib/middleman-ganbaruzoi/template/source/layouts/_script.slim
middleman-ganbaruzoi-0.0.7 lib/middleman-ganbaruzoi/template/source/layouts/_script.slim
middleman-ganbaruzoi-0.0.6 lib/middleman-ganbaruzoi/template/source/layouts/_script.slim
middleman-ganbaruzoi-0.0.5 lib/middleman-ganbaruzoi/template/source/layouts/_script.slim
middleman-ganbaruzoi-0.0.4 lib/middleman-ganbaruzoi/template/source/layouts/_script.slim
middleman-ganbaruzoi-0.0.3 lib/middleman-ganbaruzoi/template/source/layouts/_script.slim
middleman-ganbaruzoi-0.0.2 lib/middleman-ganbaruzoi/template/source/layouts/_script.slim