arthuredelstein/clooj — pull request #93 by ghostandthemachine (2012-05-29 21:39:57+00:00)
Title: Extract components

### Updates
- separated layout from application functions
+ core.clj now contains just layout, adding behaviors, and initialization
+ dev_tools.clj contains all of the non-layout and view oriented functions
- separated component initialization in (create-app) into a few core initialization functions
+ editor (make-text-editor-comp app-init)
+ file-tree (make-file-tree-comp app-init)
+ repl (make-repl-comp app-init)
+ doc-view (make-doc-view-comp app-init)
+ doc-nav (make-doc-nav-comp app-init)
- moved adding component handlers from create-app to (add-behaviors) allowing (create-app) to deal only with view layout
+ in main (add-behaviors @current-app)
- update main to use seesaw show! as well as invoke-later
- gone native!
+ added seesaw call to (native!) in brackets.clj. This isn't a logical place to put it but seesaw require native! to be called before any other seesaw calls and this is the first included file in dev_tools.clj
+ added :jvm-opts to project.clj which load "Clooj" menu instead of clojure.main in OSX menubar

####Known Issues
- still get a lot of errors for Don't know how to create ISeq from: clojure.lang.Symbol which is caused by clooj.help$ns_available_names.invoke(help.clj:114). I get these errors when I clone the current clooj repo and run it too though so I don't think the updates have created this issue