From 97bc90ae301d8d5d986b93d1c72debd37bcba024 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Wed, 7 Sep 2016 17:18:01 -0700 Subject: [PATCH] Add a preload script to set up console.log for browser use as println. --- src-browser/datomish/preload.cljs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src-browser/datomish/preload.cljs diff --git a/src-browser/datomish/preload.cljs b/src-browser/datomish/preload.cljs new file mode 100644 index 00000000..6730510d --- /dev/null +++ b/src-browser/datomish/preload.cljs @@ -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.")