Skip to content

Commit

Permalink
fix :mycroft/deref namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthalloway committed Sep 27, 2010
1 parent ce0ae1e commit f88138b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mycroft/breadcrumb.clj
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
(if selectors (link-to var) (link-name var))])

(when selectors
(let [first-crumb (if (= ::deref (first selectors)) 2 1)]
(let [first-crumb (if (= :mycroft/deref (first selectors)) 2 1)]
[:span
(->> (map (fn [n] (subvec selectors 0 n)) (range first-crumb (count selectors)))
(map (fn [partial-selectors]
Expand Down
2 changes: 1 addition & 1 deletion src/mycroft/history.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Add an object to history, returning its URL."
[obj]
(str "/vars/mycroft.history/history?"
(breadcrumb/options->query-string {:selectors [:mycroft./deref :mycroft./deref (dec (count (swap! history conj obj)))]})))
(breadcrumb/options->query-string {:selectors [:mycroft/deref :mycroft/deref (dec (count (swap! history conj obj)))]})))



Expand Down

0 comments on commit f88138b

Please sign in to comment.