Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
bonuoq authored Dec 28, 2023
1 parent 2d256a0 commit 560e2eb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,14 @@
(ns pou.user
(:require [goog.dom :as gdom]
[pou.core :as p]
[reagent.core :as r]
[klipse-clj.repl :refer [doc]]))

(-> "loading" gdom/getElement .-hidden (set! true))
(if-let [p (-> @p/pou :params :p)]
(p/cm :main :setValue (js/atob p))
(p/cm :main :setValue
"(ns pou.user\n(:require [pou.core :as p]))\np/ns-info"))

(when-let [p (-> @p/pou :params :p)]
(p/cm :main :setValue (js/atob p)))

p/ns-info
</div>
<link rel="stylesheet" type="text/css" href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css">
<script>
Expand Down

0 comments on commit 560e2eb

Please sign in to comment.