<commit_before># Add JavaScript required for your deck.
# Add deck extensions from deck.js/extensions.
#= require highlightjs
#= require deck.js/core/deck.core

$(document).bind 'deck.init', ->
  # Show social buttons after deck is loaded.
  <% if site.config['social'] %>
  $('aside.social-buttons').hide().css('visibility', 'visible').fadeIn()
  $('div.g-plus-container iframe').each ->
    @style.setProperty 'visibility', 'visible', 'important'
  <% end %>

# Load MathJax if enabled.
<% if site.config['mathjax'] then require_asset 'mathjax' end %>

# Initialize the deck.
$.deck '.slide'

# Invoke highlight.js on page load.
$ -> hljs.initHighlighting()<commit_msg>Fix bug where Google +1 button may fail to appear.<commit_after># Add JavaScript required for your deck.
# Add deck extensions from deck.js/extensions.
#= require highlightjs
#= require deck.js/core/deck.core

$(document).bind 'deck.init', ->
  # Show social buttons after deck is loaded.
  <% if site.config['social'] %>
  $('aside.social-buttons').hide().css('visibility', 'visible').fadeIn()
  showGooglePlus = -> $('div.g-plus-container iframe').each ->
    @style.setProperty 'visibility', 'visible', 'important'
  showGooglePlus
  # If the Google +1 button loads after the fist time showGooglePlus runs,
  # run it again some time later to make sure it appears.
  $ -> setTimeout showGooglePlus, 7000
  <% end %>

# Load MathJax if enabled.
<% if site.config['mathjax'] then require_asset 'mathjax' end %>

# Initialize the deck.
$.deck '.slide'

# Invoke highlight.js on page load.
$ -> hljs.initHighlighting()
{'fraction_non_alphanumeric': 0.15113350125944586, 'fraction_numerical': 0.003778337531486146, 'mean_word_length': 4.2269736842105265, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, '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': '4024967', 'n_tokens_mistral': 505, 'n_tokens_neox': 477, 'n_words': 150}