<commit_before>(ns clojexcms.frame
  (:require [bootstrap-cljs :as bs :include-macros true]
            [om.core :as om :include-macros true]
            [om-tools.dom :as dom :include-macros true]
            [om-tools.core :refer-macros [defcomponent]]))

(defcomponent menu-entry [ui owner {:keys [id icon title]}]
  (render [_]
          (dom/li {:on-click (fn [e]
                               (om/update! ui :page id)<commit_msg>mark active menu item<commit_after>(ns clojexcms.frame
  (:require [bootstrap-cljs :as bs :include-macros true]
            [om.core :as om :include-macros true]
            [om-tools.dom :as dom :include-macros true]
            [om-tools.core :refer-macros [defcomponent]]))

(defcomponent menu-entry [ui owner {:keys [id icon title]}]
  (render [_]
          (dom/li {:class (if (= id (:page ui)) "selected")
                   :on-click (fn [e]
                               (om/update! ui :page id)
{'fraction_non_alphanumeric': 0.14148936170212767, 'fraction_numerical': 0.0, 'mean_word_length': 2.1366666666666667, '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': '336039', 'n_tokens_mistral': 310, 'n_tokens_neox': 297, 'n_words': 84}