diff options
| author | eltrac <hi@eltr.ac> | 2026-05-12 11:38:13 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-05-12 11:38:13 +0800 |
| commit | cfb8e593d9dc3a5fdec17bae4ea6168c9c90d2ae (patch) | |
| tree | 4a05070f9cb0eaa223fe2774f93ec3f644a6d045 | |
| parent | 3e4e0d4a1cf442022eb6e35cf598191403d42ff3 (diff) | |
chore: remove unused dependency and functions
| -rw-r--r-- | src/weepinbell/microformats_wrapper.clj | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/weepinbell/microformats_wrapper.clj b/src/weepinbell/microformats_wrapper.clj index 5afe846..d064fa3 100644 --- a/src/weepinbell/microformats_wrapper.clj +++ b/src/weepinbell/microformats_wrapper.clj @@ -1,13 +1,12 @@ (ns weepinbell.microformats-wrapper - (:require [weepinbell.utils :refer [javamap->map]] - [weepinbell.storage :as store])) - -(defn- find-item - "Find specific type of items (like h-entry, h-card) in parsed microformats." - [typ mf] - (let [items (get mf "items") - get-type #(first (get % "type"))] - (filter #(= (get-type %) typ) items))) + (:require [weepinbell.utils :refer [javamap->map]])) + +;;(defn- find-item +;; "Find specific type of items (like h-entry, h-card) in parsed microformats." +;; [typ mf] +;; (let [items (get mf "items") +;; get-type #(first (get % "type"))] +;; (filter #(= (get-type %) typ) items))) (defn- get-prop "Use keyword get get a property value from a microformats item." |
