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
In my case Om wins over Quiescent more often (because of its short name - just
kidding ;) until Datascript enters the game. Anyway, it's still all about the
problem.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message becau
This version comes with a `+++` macro that will transform all children interop
forms to "extern-less" equivalent.
https://github.com/myguidingstar/fence
Hopefully it will save people even more extra keystrokes than previous version
;)
--
Note that posts from new members are moderated - please
Hi Tom,
Two years ago I contributed to ChlorineJS, a naive Clojure -> JS tool. The
project has a library to convert JS -> ChlorineJS, too.
https://github.com/chlorinejs/chlorinate
Its command-line interface for the library:
https://github.com/chlorinejs/chloride
However, imo you can only benefit f
I'm new to ClojureScript/Clojure and was wondering how you find out what parts
of Clojure are implemented? For example, when I start up a Clojure REPL by
doing "lein repl", and then do:
(all-ns)
I get a long list of namespaces. However, when I start up a ClojureScript REPL
via "lein t
Wanted to offer a point of view on
" 3. Keeping the views up-to-date. "
I do not have any empirical results to suggest it a viable alternative, but
still..
I think the problem is so difficult due to the cardinality of the set of
possible relations/dependencies that the views can represent.
So
I got the 'advanced' mode working for a simple hello world
Your question prompted me to go back and update to the latest versions of
everything
so you can see it at
https://github.com/vladp/cljs_om_dojo/
I suspect in advanced mode the including of reactjs needed to be different.
But not 100% sure
@David P,
Would you be able to share your code samples on githubs or ghist
I am slowly venturingin in to this stack and would appreciate to see D&D and
other examples showing idiomatic use with Om.
thank you in advance
On Monday, January 13, 2014 6:23:44 PM UTC-5, David Pidcock w
Hello I updated the sample to just demonstrate the issue of using :advanced
compilation mode
if you run
lein cljsbuild once dev-dbg2-advanced
and then render index2.html
you will see errors:
Uncaught TypeError: Cannot read property 'input' of undefined dom.cljs:36
Uncaught Error: goog.require
Sorry if this reply is for an old topic
but in the last month David Nolan put together a rather unique library that
integrates Reacts with Clojurescript in a very 'idiomatic' way leveraging
mutation free pattern for state management
https://github.com/swannodette/om
I was actually searching aro
, David Nolen wrote:
> It appears that you're missing some dependencies required for Dojo to
> function. Dojo uses a function "define" which is not included in any of the
> Dojo libraries you've included.
>
>
>
> David
>
>
>
> On Wed, Jan 8,
Hello David, thank you
Here is the project to test on
https://github.com/vladp/cljs_om_dojo
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsub
Hello,
investigating the use of clojurescript, om for state management, ReactJS for
simple parts of my apps, but also need to use foreigh libraries such as dgrid
(one of the dojo's excellent Grids).
I have setup Om/Clojurescript and can run a simple app (that I copied from one
of the David No
13 matches
Mail list logo