<commit_before>//= require jquery
//= require rails-ujs
//= require twbs/bootstrap
//= require_true ./lib
//= require i18n
//= require i18n/translations
//= require summernote
//= require_tree .

I18n.defaultLocale = '<%= I18n.default_locale.to_s %>';
I18n.locale = document.getElementsByTagName('html')[0].getAttribute('lang');

$(document).ready(function(){

  DABBLE.init();
  var page = DABBLE.pages[window.action] || $.noop;
  page.call();

  $(".entry").one("mouseover", function() {
    $(this).find('.entry-panel').addClass('permahover');
  });  

});<commit_msg>Prevent backspace from going back<commit_after>//= require jquery
//= require rails-ujs
//= require twbs/bootstrap
//= require_true ./lib
//= require i18n
//= require i18n/translations
//= require summernote
//= require_tree .

I18n.defaultLocale = '<%= I18n.default_locale.to_s %>';
I18n.locale = document.getElementsByTagName('html')[0].getAttribute('lang');

$(document).ready(function(){

  DABBLE.init();
  var page = DABBLE.pages[window.action] || $.noop;
  page.call();

  $(".entry").one("mouseover", function() {
    $(this).find('.entry-panel').addClass('permahover');
  });

  $(document).on('keydown',function(e){
    var $target = $(e.target||e.srcElement);
    if(e.keyCode == 8 && !$target.is('input,[contenteditable="true"],textarea'))
    {
      e.preventDefault();
    }
  })  

});
{'fraction_non_alphanumeric': 0.21428571428571427, 'fraction_numerical': 0.016763848396501458, 'mean_word_length': 4.161654135338346, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2126824', 'n_tokens_mistral': 497, 'n_tokens_neox': 469, 'n_words': 72}