Re: Moving ClojureScript to Clojure 1.5.0 & data.json dependency

2013-03-03 Thread Brian Taylor
+1 from me. The additional data.json dependency gave me some pause but I think it's a completely reasonable dependency to add given we're talking about the canonical behavior-to-javascript compiler depending on the canonical data-to-javascript encoder. On Fri, Mar 1, 2013 at 2:41 PM, David Nolen

Re: Creating a custom Closure UI component in Clojurescript

2012-07-10 Thread Brian Taylor
I just hit this issue myself and wrote a macro to make it a bit easier to extend google-closure provided classes. Here's the code: (ns move.macros (:require [cljs.compiler :as compiler] [cljs.core :as cljs])) (defmacro goog-extend [type base-type ctor & methods] `(do (defn ~

Re: Feedback on CLJS-340: Improving pr-str perf / IWriter protocol

2012-08-30 Thread Brian Taylor
I think reifying character output streams via an IWriter protocol sounds like a good idea. Are you concerned about anything in particular wrt. to introducing the IWriter protocol? If the protocol is Clojure destined we may want to consider a more specific name to distinguish it from byte oriented o