-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73c37ac
commit dad5e63
Showing
8 changed files
with
115 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
### Merged cells | ||
Merged cells are a bit hackily implemented. They are not really merged at the grid level and exist mainly on the presentation layer. | ||
All cells under a merged cell should maybe evaluate to the same value. | ||
Right now a merged cell can be set and evaluated separately which can cause | ||
a cell under a merged cell to have a different value. | ||
|
||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
(ns bean.ui.main | ||
(:require [bean.ui.views.root :as root] | ||
[bean.ui.events :as events] | ||
(:require [bean.ui.events :as events] | ||
[bean.ui.views.sheet :as sheet] | ||
[bean.ui.routes :as routes] | ||
[bean.ui.views.root :as root] | ||
[re-frame.core :as rf] | ||
[reagent.dom :as r])) | ||
|
||
(defn ^:dev/after-load main* [] | ||
(routes/start) | ||
(routes/start) | ||
(r/render | ||
[root/routed] | ||
(.getElementById js/document "app")) | ||
(rf/dispatch [::events/reload-bindings])) | ||
|
||
(defn init [] | ||
(.addEventListener js/window "paste" (fn [e] (sheet/handle-paste e))) | ||
(.addEventListener js/window "copy" (fn [e] (sheet/handle-copy e)))) | ||
|
||
(defn ^:export main [] | ||
(rf/dispatch-sync [::events/initialize-db]) | ||
(main*)) |
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
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
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