<commit_before>// Till I can figure out a better
// way to do this
require.context("../assets", true, /(gif|svg|png|jpg|jpeg|ico|txt)$/);


import "phoenix_html";
import "../stylesheets/frontend.scss";

import "bootstrap/js/collapse.js";
import "bootstrap/js/alert.js";
import "bootstrap/js/dropdown.js";
import "bootstrap/js/affix.js";


import "slick-carousel/slick/slick.js";
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";

import Turbolinks from "turbolinks";
Turbolinks.start()

$(function() {
  $(document).on("turbolinks:load", function(event) {

    if(typeof ga === "functions") {
      ga("set", "location", event.data.url)
      ga("send", "pageview")
    }


    $("[data-slick]").slick();

    $("[data-sticky]").each(function() {
      var $el = $(this);
      var offset = $el.offset().top - 20;

      $el.affix({
        offset: {
          top: offset
        }
      })
    })<commit_msg>Analytics typo fix<commit_after>// Till I can figure out a better
// way to do this
require.context("../assets", true, /(gif|svg|png|jpg|jpeg|ico|txt)$/);


import "phoenix_html";
import "../stylesheets/frontend.scss";

import "bootstrap/js/collapse.js";
import "bootstrap/js/alert.js";
import "bootstrap/js/dropdown.js";
import "bootstrap/js/affix.js";


import "slick-carousel/slick/slick.js";
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";

import Turbolinks from "turbolinks";
Turbolinks.start()

$(function() {
  $(document).on("turbolinks:load", function(event) {

    if(typeof ga === "function") {
      ga("set", "location", event.data.url)
      ga("send", "pageview")
    }


    $("[data-slick]").slick();

    $("[data-sticky]").each(function() {
      var $el = $(this);
      var offset = $el.offset().top - 20;

      $el.affix({
        offset: {
          top: offset
        }
      })
    })
{'fraction_non_alphanumeric': 0.1957894736842105, 'fraction_numerical': 0.002105263157894737, 'mean_word_length': 3.2338530066815143, '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': '485468', 'n_tokens_mistral': 695, 'n_tokens_neox': 680, 'n_words': 126}