Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@samedhi
Created September 9, 2020 03:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samedhi/b75931696098127a7eea32a9fc614390 to your computer and use it in GitHub Desktop.
Save samedhi/b75931696098127a7eea32a9fc614390 to your computer and use it in GitHub Desktop.
Failing case with core.async & klipse
<!doctype html>
<html lang="en">
<head>
<meta charset='utf-8'>
<link rel="stylesheet"
type="text/css"
href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css">
</head>
<pre>
<code class="language-klipse">
(ns firemore.readme
(:require
[cljs.core.async :as async])
(:require-macros
[cljs.core.async.macros :refer [go-loop go]]))
(js/console.log "This works fine")
(go (js/console.log "This does not"))
</code>
</pre>
<script>
window.klipse_settings = {
// css selector the elements to klipsify
selector: '.language-klipse'
};
</script>
<script src="https://storage.googleapis.com/app.klipse.tech/plugin/js/klipse_plugin.js"></script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment