Last active
February 17, 2016 15:59
-
-
Save wildermuthn/12aca077efd8a078c8ae to your computer and use it in GitHub Desktop.
This file contains hidden or 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
;;; Should run datascript instance on main process (nodejs) | |
This file contains hidden or 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
(def pane-layout [pane-1 [pane-2 pane-3 [pane-4a pane4b]] pane-5]) ;; defines rows of panes from top-left down. | |
;;; Should wrap each pane in a toolbar for reodering a pane in the pane-layout. | |
;;; toolbar should allow for popout, attach, close. | |
;;; should listen for toolbar events | |
;;; Should run on main process (nodejs) of Electron | |
;;; Needs to have access to BrowserWindow api methods for opening/closing windows. |
This file contains hidden or 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
{:popout {:height nil :width nil} ;; Can this be popped out? Is it resizable? | |
:attach {:height nil :width nil} ;; Can this be attached? Is it resizable? | |
:state (atom {:header “Hi”}) | |
:query [[:find? …] [:find? …]] | |
:render (fn [state query1 query2]) [:div (:header @state)]} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment