<commit_before># coding: utf-8
class BxHooks < Redmine::Hook::ViewListener
  def view_layouts_base_html_head(context = {})
    if context[:controller].class.included_modules.include?(BxController)
      stylesheet_link_tag("redmine_bx", :plugin => "redmine_bx")
    end
  end

  def view_layouts_base_body_bottom(context = {})
    Rails.logger.debug(context[:controller])
    Rails.logger.debug(context[:controller].class.included_modules.inspect)
    if context[:controller].class.included_modules.include?(BxController)
      javascript_include_tag("redmine_bx", :plugin => "redmine_bx")
    end
  end
end
<commit_msg>refs #163 remove debug print.<commit_after># coding: utf-8
class BxHooks < Redmine::Hook::ViewListener
  def view_layouts_base_html_head(context = {})
    if context[:controller].class.included_modules.include?(BxController)
      stylesheet_link_tag("redmine_bx", :plugin => "redmine_bx")
    end
  end

  def view_layouts_base_body_bottom(context = {})
    if context[:controller].class.included_modules.include?(BxController)
      javascript_include_tag("redmine_bx", :plugin => "redmine_bx")
    end
  end
end

{'fraction_non_alphanumeric': 0.12070484581497798, 'fraction_numerical': 0.004405286343612335, 'mean_word_length': 5.491428571428571, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2589637', 'n_tokens_mistral': 383, 'n_tokens_neox': 366, 'n_words': 56}