This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require '[ribelo.doxa :as dx]) | |
(require '[re-frame.core :as rf]) | |
;; despite general good practice, in my case it doesn't work to keep all data in | |
;; one db. in every application I have to save some data and removing from store | |
;; data concerning ui and other stuff is not cool. | |
;; declare mutiple db | |
(def default-db (dx/create-dx)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns clojupyter.echarts | |
(:require [clojupyter.misc.display :as display] | |
[cheshire.core :as json] | |
[cuerdas.core :as str])) | |
(defn init [] | |
(let [code "require.config({ | |
paths: { | |
echarts: 'https://cdnjs.cloudflare.com/ajax/libs/echarts/4.0.4/echarts-en' |