remove folder

This commit is contained in:
Jeremy Kauffman 2016-07-24 16:05:35 -04:00
parent 4a7038149b
commit 6f713b5662
3 changed files with 6 additions and 3 deletions

View file

@ -21,7 +21,6 @@
</div>
<div class="span5">
<?php echo View::render('download/_social') ?>
<?php echo View::render('download/_social') ?>
</div>
</main>

View file

@ -10,7 +10,7 @@
ga('send', 'pageview');
<?php //we load fb sdk elsewhere, events loaded below (do we need both??) ?>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
@ -22,4 +22,8 @@
<?php //and now everyone knows what happens on our website except us ?>
</script>
<?php else: ?>
<?php js_start() ?>
console.log('Analytics partial skipped because this is a non-production instance.');
<?php js_end() ?>
<?php endif ?>

View file

@ -62,7 +62,7 @@
<?php foreach(Response::getJsAssets() as $src): ?>
<script src="<?php echo $src ?>"></script>
<?php endforeach ?>
<?php echo View::render('analytics/track') ?>
<?php echo View::render('layout/_analytics') ?>
<?php $js = Response::getJsCalls() ?>
<?php if ($js): ?>
<script><?php echo implode("\n", $js) ?></script>