Add gulp-rev-all for future use
This commit is contained in:
30
dist/index.html
vendored
30
dist/index.html
vendored
@@ -554,22 +554,7 @@
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
/*
|
||||
var sent = false;
|
||||
window.addEventListener('scroll', function(e) {
|
||||
var scrollTop = $(window).scrollTop();
|
||||
var docHeight = $(document).height();
|
||||
var winHeight = $(window).height();
|
||||
var scrollPercent = (scrollTop) / (docHeight - winHeight);
|
||||
var scrollPercentRounded = Math.round(scrollPercent*100);
|
||||
|
||||
if (scrollPercentRounded > 30 && !sent) {
|
||||
ga('send', 'pageview');
|
||||
sent = true;
|
||||
}
|
||||
}); */
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@@ -587,6 +572,21 @@ window.addEventListener('scroll', function(e) {
|
||||
|
||||
<!-- all bundles -->
|
||||
<script src="all.js"></script>
|
||||
<script>
|
||||
|
||||
var sent = false;
|
||||
window.addEventListener('scroll', function(e) {
|
||||
var scrollTop = $(window).scrollTop();
|
||||
var docHeight = $(document).height();
|
||||
var winHeight = $(window).height();
|
||||
var scrollPercent = (scrollTop) / (docHeight - winHeight);
|
||||
var scrollPercentRounded = Math.round(scrollPercent*100);
|
||||
|
||||
if (scrollPercentRounded > 30 && !sent) {
|
||||
ga('send', 'pageview');
|
||||
sent = true;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user