<commit_before>$.backstretch("img/bg.svg");
var $happybday = $('.happy-bday'),
    $page      = $('.page');
    $window    = $(window);

$happybday.css({
  top: $window.height()
});

$("img.lazy").show().lazyload({
    // effect : "fadeIn"
});

$window.on('resize', function(){
  $happybday.height($window.height());
});

$window.on('load', function(){
  $page.css({
    visibility: 'visible'
  });
  $happybday.transition({
    top: 0
  }, 2000);
  setTimeout(function() {
    $happybday.addClass('floating');
  }, 2000);
});


$window.trigger('resize');
<commit_msg>Changed lazyload event to be triggered on window load<commit_after>$.backstretch("img/bg.svg");
var $happybday = $('.happy-bday'),
    $page      = $('.page'),
    $lazyImg   = $("img.lazy"),
    $window    = $(window);

$happybday.css({
  top: $window.height()
});

$lazyImg.show().lazyload({
    'effect': "fadeIn",
    'event' : "custom"
});

$window.on('resize', function(){
  $happybday.height($window.height());
});

$window.on('load', function(){
  $lazyImg.trigger("custom");
  $page.css({
    visibility: 'visible'
  });
  $happybday.transition({
    top: 0
  }, 2000);
  setTimeout(function() {
    $happybday.addClass('floating');
  }, 2000);
});


$window.trigger('resize');

{'fraction_non_alphanumeric': 0.24143426294820716, 'fraction_numerical': 0.014342629482071713, 'mean_word_length': 3.8122605363984676, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6829992', 'n_tokens_mistral': 493, 'n_tokens_neox': 458, 'n_words': 73}