From fa20f83aa969e0298e29842dca0166ec035bd31b Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Wed, 31 Oct 2018 18:30:05 +0100 Subject: [PATCH] eastwood --- src/wanijo/framework/devmode.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wanijo/framework/devmode.clj b/src/wanijo/framework/devmode.clj index 6f19865..a71c5a2 100644 --- a/src/wanijo/framework/devmode.clj +++ b/src/wanijo/framework/devmode.clj @@ -1,5 +1,6 @@ (ns wanijo.framework.devmode - (:require [hiccup.core :as hcore])) + (:require [hiccup.core :as hcore] + [clojure.string :as cljs])) (def bar-entries (atom [])) @@ -22,7 +23,7 @@ (defn append-devbar [resp] (let [body (:body resp) - new-body (clojure.string/replace + new-body (cljs/replace body "" (str (devbar resp) ""))] (assoc resp :body new-body)))