Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit 3b36b7b

Browse files
committed
Changes to accomodate with the updated libraries
1 parent f9ef736 commit 3b36b7b

23 files changed

+35
-35
lines changed

src/lt/macros.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
(next decl)
3939
decl)]
4040
`(defn ~sym ~doc ~params
41-
(let [e# (crate.core/html ~hiccup)]
41+
(let [e# (singultus.core/html ~hiccup)]
4242
(doseq [[ev# func#] (partition 2 ~(vec events))]
4343
(lt.util.dom/on e# ev# func#))
4444
e#))))

src/lt/object.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"Define core of BOT architecture and provide fns for manipulating objects,
33
behaviors and tags"
44
(:refer-clojure :exclude [set!])
5-
(:require [crate.core :as crate]
5+
(:require [singultus.core :as crate]
66
[clojure.set :as set]
77
[clojure.string :as string]
8-
[crate.binding :refer [sub-swap! subatom sub-reset! deref?]]
8+
[singultus.binding :refer [sub-swap! subatom sub-reset! deref?]]
99
[lt.util.cljs :as cljs]
1010
[lt.util.dom :refer [replace-with] :as dom]
1111
[lt.util.js :refer [throttle debounce]])

src/lt/objs/bottombar.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[lt.objs.canvas :as canvas]
77
[lt.util.cljs :refer [->dottedkw]]
88
[lt.util.style :refer [->px]]
9-
[crate.binding :refer [map-bound bound subatom]])
9+
[singultus.binding :refer [map-bound bound subatom]])
1010
(:require-macros [lt.macros :refer [behavior defui]]))
1111

1212

src/lt/objs/browser.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
[lt.objs.clients.devtools :as devtools]
1919
[lt.util.dom :as dom]
2020
[clojure.string :as string]
21-
[crate.core :as crate]
22-
[crate.binding :refer [bound subatom]])
21+
[singultus.core :as crate]
22+
[singultus.binding :refer [bound subatom]])
2323
(:require-macros [lt.macros :refer [behavior defui]]))
2424

2525
(def utils (js-obj))

src/lt/objs/clients/devtools.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
[lt.objs.app :as app]
1010
[lt.objs.clients :as clients]
1111
[fetch.core :as fetch]
12-
[crate.core :as crate]
12+
[singultus.core :as crate]
1313
[lt.util.dom :as dom]
1414
[lt.util.js :refer [every wait ->clj]]
1515
[lt.util.ipc :as ipc]
16-
[crate.binding :refer [bound subatom]]
16+
[singultus.binding :refer [bound subatom]]
1717
[clojure.string :as string])
1818
(:require-macros [lt.macros :refer [behavior defui]]))
1919

src/lt/objs/clients/local.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[lt.objs.eval :as eval]
1010
[lt.objs.console :as console]
1111
[clojure.string :as string]
12-
[crate.core :as crate]
12+
[singultus.core :as crate]
1313
[lt.util.dom :refer [$ append remove]])
1414
(:use [lt.util.js :only [wait ->clj]])
1515
(:require-macros [lt.macros :refer [behavior]]))

src/lt/objs/console.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[clojure.string :as string]
1212
[lt.util.dom :refer [$ append empty parents] :as dom]
1313
[lt.objs.platform :as platform])
14-
(:require-macros [crate.def-macros :refer [defpartial]]
14+
(:require-macros [singultus.def-macros :refer [defpartial]]
1515
[lt.macros :refer [behavior defui]]))
1616

1717
(def console-limit 50)

src/lt/objs/editor.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* `pos` - Position: depending on the context, either a Javascript object
1818
(e.g., `{\"line\": 0, \"ch\": 0}`) or cljs map (e.g., `{:line 0 :ch 0}`)."
1919
(:refer-clojure :exclude [val replace range])
20-
(:require [crate.core :as crate]
20+
(:require [singultus.core :as crate]
2121
[lt.objs.context :as ctx-obj]
2222
[lt.object :as object]
2323
[lt.objs.files :as files]

src/lt/objs/eval.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
[lt.objs.sidebar.command :as cmd]
1313
[lt.objs.notifos :as notifos]
1414
[lt.objs.popup :as popup]
15-
[crate.core :as crate]
16-
[crate.binding :refer [bound]]
15+
[singultus.core :as crate]
16+
[singultus.binding :refer [bound]]
1717
[lt.objs.console :as console]
1818
[lt.util.dom :as dom]
1919
[clojure.string :as string]

src/lt/objs/find.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[lt.objs.keyboard :as keyboard]
1111
[lt.objs.editor :as editor]
1212
[lt.util.dom :as dom]
13-
[crate.binding :refer [bound subatom]]
13+
[singultus.binding :refer [bound subatom]]
1414
[lt.util.style :refer [->px]])
1515
(:require-macros [lt.macros :refer [behavior defui]]))
1616

0 commit comments

Comments
 (0)