Skip to content

Commit

Permalink
remove om examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed May 27, 2020
1 parent 6431d6a commit 89e5625
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 94 deletions.
14 changes: 7 additions & 7 deletions example_src/devdemos/extentions.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[devcards.core]
[sablono.core :as sab :include-macros true]
[cljs.test :as t :include-macros true]
[om.core :as om]
#_[om.core :as om]
[reagent.core :as rg])
(:require-macros
[devcards.core :as dc :refer [defcard defcard-doc deftest dom-node]]))
Expand Down Expand Up @@ -46,12 +46,12 @@
{}
{:heading 5})

(defcard om-root
(dc/om-root
(fn [data owner]
(reify om/IRender
(render [_]
(sab/html [:h1 "This is om now!!!"]))))))
#_(defcard om-root
(dc/om-root
(fn [data owner]
(reify om/IRender
(render [_]
(sab/html [:h1 "This is om now!!!"]))))))

(defn simple-component []
[:div
Expand Down
83 changes: 0 additions & 83 deletions example_src/devdemos/om.cljs

This file was deleted.

1 change: 0 additions & 1 deletion example_src/devdemos/start_ui.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(:require
[devcards.core]
[devdemos.defcard-api]
[devdemos.om]
[devdemos.om-next]
[devdemos.reagent]
[devdemos.source-code-display]
Expand Down
6 changes: 3 additions & 3 deletions src/deps.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
:global-exports {devcards-marked DevcardsMarked}}]
:externs ["devcards/js_libs/highlight.ext.js"
"devcards/js_libs/marked.ext.js"]
:npm-deps {"create-react-class": "15.6.3",
"react": "16.13.1",
"react-dom": "16.13.1"}}
:npm-deps {"create-react-class" "15.6.3"
"react" "16.13.1"
"react-dom" "16.13.1"}}

0 comments on commit 89e5625

Please sign in to comment.