<commit_before>(ns hatnik.web.client.components
  (:require [om.core :as om :include-macros true]
            [om.dom :as dom :include-macros true]
            [hatnik.web.client.app-state :as state])
  (:use [jayq.core :only [$]]))

(defn test-action []
  (js/alert "Hoooo!"))


(defn accordion-panel [& {:keys [body-id header button body]}]
  (dom/div
   #js {:className "panel panel-default panel-primary"}
   (dom/div
    #js {:className "panel-heading"}
    (dom/div
     nil
     (dom/h4
      #js {:className "panel-title"}
      (dom/div #js {:className "row"}
               (dom/div #js {:className "col-sm-8 col-md-8 col-lg-8"}
                        (dom/a
                         #js {:data-parent "#accrodion"
                              :data-toggle "collapse"
                              :href (str "#" body-id)}
                         header))
               (dom/div
                #js {:className "col-sm-2 col-md-1 col-lg-1 pull-right"}
                button)))))
   (dom/div #js {:className "panel-collapse collapse in"
                 :id body-id}
            (dom/div #js {:className "panel-body"}
                     body))))
<commit_msg>Remove unused code.<commit_after>(ns hatnik.web.client.components
  (:require [om.core :as om :include-macros true]
            [om.dom :as dom :include-macros true]
            [hatnik.web.client.app-state :as state])
  (:use [jayq.core :only [$]]))


(defn accordion-panel [& {:keys [body-id header button body]}]
  (dom/div
   #js {:className "panel panel-default panel-primary"}
   (dom/div
    #js {:className "panel-heading"}
    (dom/div
     nil
     (dom/h4
      #js {:className "panel-title"}
      (dom/div #js {:className "row"}
               (dom/div #js {:className "col-sm-8 col-md-8 col-lg-8"}
                        (dom/a
                         #js {:data-parent "#accrodion"
                              :data-toggle "collapse"
                              :href (str "#" body-id)}
                         header))
               (dom/div
                #js {:className "col-sm-2 col-md-1 col-lg-1 pull-right"}
                button)))))
   (dom/div #js {:className "panel-collapse collapse in"
                 :id body-id}
            (dom/div #js {:className "panel-body"}
                     body))))

{'fraction_non_alphanumeric': 0.15244694673018622, 'fraction_numerical': 0.006063230835859679, 'mean_word_length': 1.5273522975929978, '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': '1777444', 'n_tokens_mistral': 739, 'n_tokens_neox': 696, 'n_words': 172}