+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
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 ~
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