To be used on GitHub Pages, the demo must be in /docs

This commit is contained in:
Simon Brooke 2020-02-24 16:15:04 +00:00
parent 8bd1e65c0b
commit 861339458d
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
392 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,8 @@
(ns devtools.context)
; default root javascript context, typically js/window in browser, or the root javascript object in node.js
(defn ^:dynamic get-root []
goog/global)
(defn ^:dynamic get-console []
(.-console (get-root)))