Add a preload script to set up console.log for browser use as println.
This commit is contained in:
parent
113cff42aa
commit
97bc90ae30
1 changed files with 8 additions and 0 deletions
8
src-browser/datomish/preload.cljs
Normal file
8
src-browser/datomish/preload.cljs
Normal file
|
@ -0,0 +1,8 @@
|
|||
;; This Source Code Form is subject to the terms of the Mozilla Public
|
||||
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
(ns datomish.preload)
|
||||
|
||||
(enable-console-print!)
|
||||
(println "Console printing enabled.")
|
Loading…
Reference in a new issue