Load html examples from resources
This commit is contained in:
parent
fb828d9958
commit
3991b4868d
4 changed files with 66 additions and 48 deletions
|
|
@ -20,10 +20,12 @@
|
|||
|
||||
(def namespaces
|
||||
{'clojure.core
|
||||
{'println (sci/copy-var println cljns)
|
||||
'prn (sci/copy-var prn cljns)
|
||||
'system-time (sci/copy-var system-time cljns)
|
||||
'time (sci/copy-var time cljns)}})
|
||||
{'println println
|
||||
'prn prn
|
||||
'system-time system-time
|
||||
'time (sci/copy-var time cljns)}
|
||||
'goog.object {'set gobject/set
|
||||
'get gobject/get}})
|
||||
|
||||
(def ctx (atom (sci/init {:namespaces namespaces
|
||||
:classes {'js js/window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue