From 6422ec1b69b7357e404bcceebed1cac4e994cf72 Mon Sep 17 00:00:00 2001 From: Antonin Hildebrand Date: Wed, 3 Aug 2016 20:34:02 +0200 Subject: [PATCH] add a simple test scenario for https://github.com/binaryage/cljs-devtools/issues/23 --- resources/public/issue23.html | 32 +++++++++++++++++++++++++++ src/demo/devtools_sample/issue23.cljs | 14 ++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 resources/public/issue23.html create mode 100644 src/demo/devtools_sample/issue23.cljs diff --git a/resources/public/issue23.html b/resources/public/issue23.html new file mode 100644 index 0000000..146ecbd --- /dev/null +++ b/resources/public/issue23.html @@ -0,0 +1,32 @@ + + + + issue23 + + + + +
+ + + + + + diff --git a/src/demo/devtools_sample/issue23.cljs b/src/demo/devtools_sample/issue23.cljs new file mode 100644 index 0000000..63b9e8f --- /dev/null +++ b/src/demo/devtools_sample/issue23.cljs @@ -0,0 +1,14 @@ +(ns devtools-sample.issue23 + (:require-macros [devtools-sample.logging :refer [log info]]) + (:require [devtools-sample.boot :refer [boot!]] + [devtools.protocols :refer [IFormat]])) + +(boot! "/src/demo/devtools_sample/issue23.cljs") + +(enable-console-print!) + +; --- MEAT STARTS HERE --> + +(throw (ex-info "I'm ex-info" {:with "some data"})) + +; <-- MEAT STOPS HERE ---