transit is not really intended for the consumption of plain JSON. There's
not a good way to this right now.
David
On Fri, Mar 20, 2015 at 3:22 PM, Shaun Mahood wrote:
> I'm pretty new to clojurescript and am having some issues implementing
> transit-cljs to read in a JSON api call.
>
> What I'm
That's great news Colin.
Cursive CLJS support seems a little rough around the edges but I'm still
loving it. Was hoping to hear that it was on your radar for improvement.
On Sat, Mar 21, 2015 at 9:57 AM, Colin Fleming
wrote:
> Hi Georgi,
>
> Yes, this is currently more painful than it should
Hi Georgi,
Yes, this is currently more painful than it should be in Cursive. I'm
actually working on REPL support right now, so hopefully there'll be proper
CLJS REPL support using all the new CLJS goodness in Cursive soon (as in,
in a week or two).
Cheers,
Colin
On 21 March 2015 at 05:59, Georg
I'm pretty new to clojurescript and am having some issues implementing
transit-cljs to read in a JSON api call.
What I'm looking for is the equivalent of
(js->clj parsed-json-data :keywordize-keys true)
I've got the transit reader working, using
(let [r t/reader :json)] (t/read r json-data))
A
You need to console.log.call(console, "hi") in JS so presume you need to do
the equivalent in ClojureScript.
On 20 Mar 2015 18:28, "David Nolen" wrote:
> You can't do this in many cases with JavaScript either, try it.
>
> David
>
> On Fri, Mar 20, 2015 at 2:12 PM, Charles-P. Clermont <
> charles.
You can't do this in many cases with JavaScript either, try it.
David
On Fri, Mar 20, 2015 at 2:12 PM, Charles-P. Clermont <
charles.pclerm...@gmail.com> wrote:
> Hi,
>
> I'm not sure if this is a bug or a hole in my knowledge.
> Can someone explain why I can do
>
> ```
> ((.-cos js/Math) 0) ;;
Hi,
I'm not sure if this is a bug or a hole in my knowledge.
Can someone explain why I can do
```
((.-cos js/Math) 0) ;; => 1
```
But not
```
((.-log js/console) "hi") ;; => Illegal Invocation
```
The goal being to declare
```
(def log (.-log js/console))
(def cos (.-cos js/Math))
;; etc
I have been unsuccesfull to get a working node repl inside intellij+cursive.
Can anybody give advice or point me to set-up that ideally has multiline mode +
experience close to cursive's?
I love the repl for clojure and not having this for cljs is making me do as
much as possible in clojure, whi
Hi All,
I'm writing some atom (the editor) package with ClojureScript. And i faced
dependency load issue.
When compiled ClojureScript produces file like this (main.js):
goog.addDependency("base.js", ['goog'], []);
goog.addDependency("../cljs/core.js", ['cljs.core'], ...)
goog.addDependency("../
I'm writing some atom (the editor) package with ClojureScript. And i faced
dependency load issue.
When compiled ClojureScript produces file like this (main.js):
goog.addDependency("base.js", ['goog'], []);
goog.addDependency("../cljs/core.js", ['cljs.core'], ...)
goog.addDependency("../clojure/b
On Thursday, March 19, 2015 at 1:28:18 PM UTC+2, David Nolen wrote:
> Yes it look like in both cases you all have written:
> (require 'cljs.closure')
> which doesn't mean what you think in Clojure, but may seem familiar if you're
> used to JavaScript. The right thing is:
> (require 'cljs.closure)
On Sunday, December 21, 2014 at 11:22:17 AM UTC-8, Mike Haney wrote:
> Good stuff.
>
> Has anyone tried using Clojurescript with AWS Lambda?
I haven't but it seems like a perfect fit. I will report back and please lmk
what your experience has been.
--
Note that posts from new members are moder
I ran into a similar error with losing focus. In my case it was because I was
generating a different react-id in an on-blur method. I ran your code, and
didn't see the id change. But (the reason I bring this up), I do see the same
behavior in the Chrome DOM explorer with your code as I did with
13 matches
Mail list logo