Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
add a simple test scenario for binaryage/cljs-devtools#23
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Aug 3, 2016
1 parent c48aec8 commit 6422ec1
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
32 changes: 32 additions & 0 deletions resources/public/issue23.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!doctype html>
<html>
<head>
<title>issue23</title>
<style>
body, html, code, pre {
padding: 0;
margin: 0
}

html {
background-color: #1d1f21
}

code {
margin: 0;
font-family: Menlo, monospace;
font-size: 11px
}
</style>
<link rel="stylesheet" href="css/hybrid.css">
</head>
<body>
<pre><code></code></pre>
<script src="js/highlight.pack.js" type="text/javascript"></script>
<script src="_compiled/demo/goog/base.js" type="text/javascript"></script>
<script src="_compiled/demo/devtools_sample.js" type="text/javascript"></script>
<script>
goog.require('devtools_sample.issue23');
</script>
</body>
</html>
14 changes: 14 additions & 0 deletions src/demo/devtools_sample/issue23.cljs
Original file line number Diff line number Diff line change
@@ -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 ---

0 comments on commit 6422ec1

Please sign in to comment.