[ClojureScript] Re: Om: Using a zipper cursor

2014-06-24 Thread Joel Holdbrooks
On Saturday, May 24, 2014 1:21:48 PM UTC-7, Scott Thompson wrote: > The problem I've been thinking about is that Om manages a path in a vector > format for use with functions like get-in whereas zippers use a location to > represent a path. So its not yet clear to me if that will translate well i

[ClojureScript] Re: ClojureScript with om on IE8 and IE9

2014-06-24 Thread Joel Holdbrooks
On Wednesday, June 11, 2014 4:23:30 PM UTC-7, tal giat wrote: > Can't seem to get those working with IE8/IE9. > > I've created a project on github to demonstrate that: > https://github.com/talgiat/om-tutorial which is basically the very first > example (Hello world) in the om tutorial. > This v

Re: [ClojureScript] Paredit and Om - question about indentation

2014-06-24 Thread Keith Irwin
You can set this: (setq clojure-defun-style-default-indent t) which seems to ignore normal indenting and provides a pure 2-space kind of thing no matter what. On Jun 24, 2014, at 1:34 PM, William Sommers wrote: > Hey ya'll, > > When working with emacs, in paredit-mode, my Om components of

[ClojureScript] Paredit and Om - question about indentation

2014-06-24 Thread William Sommers
Hey ya'll, When working with emacs, in paredit-mode, my Om components often end up with 10-12 space indentations. I am relatively new to emacs and I would love to know if anyone knows how to setup their environment to indent similarly to the examples in this repo: https://github.com/Prismatic/

[ClojureScript] dom/render-to-str gives 'Cannot read property 'firstChild' of undefined'

2014-06-24 Thread Roger Gilliar
The following codes gives the error message 'Cannot read property 'firstChild' of undefined'. Any ideas why ? The html output is as expected. just render-to-str causes this error. (ns om-simple.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros t

[ClojureScript] using println while testing with PhantomJS

2014-06-24 Thread Roger Gilliar
Is it possible to use println to print to the console while the test is executing within PhantomJS ? I tried the following test.cljs file" (enable-console-print!) (println "test") (deftest got-data (is (= (:domain (data/get-data "test.de")) "test.de"))) But test is not printed -- Note th