I've added an example here:
https://github.com/ddellacosta/om-examples/blob/master/same-data/src/core.cljs
DD
(2014/06/27 5:26), lightningflas...@gmail.com wrote:
> I thought about posting the code, but I thing you got me right :)
> That's exactly what I'm doing (or intend to do), besides I'm u
Thanks David that's exactly what I was looking for
--
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 unsubscribe from this group and stop receiving
I was hoping to use sente https://github.com/ptaoussanis/sente
to provide access to a server endpoint from clients in arbitrary domains,
but the sente client explicity prepends its own host to the user-provided
endpoint:
https://github.com/ptaoussanis/sente/blob/master/src/taoensso/sente.cljx#L764
I thought about posting the code, but I thing you got me right :)
That's exactly what I'm doing (or intend to do), besides I'm using a multi
function instead of item-comp and sep-comp, since there will be more different
types in the future.
Did you ever try code like yours? I also thought this s
I hate asking questions like these, but I'm out of ideas, since I'm new to
ClojureScript.
I have a proof-of-concept working with cljs-http, then it suddenly stopped, and
I'm not sure why. It's a dead simple call of cljs-http with a local URL.
I'm seeing this is my javascript console on Firefox
On Thursday, June 26, 2014 1:11:26 PM UTC-5, Roger Gilliar wrote:
> The first button does not receive a cursor but a map containing cursors. The
> following works for button 1:
>
> (defn log-state
> [state]
> (prn @(:x state)))
Thanks Roger, I misunderstood this
https://github.com/swannodet
Aren't people already doing something like this with Mozilla's pure JS
source map implementation? Seems to me you could just load the source
map at runtime and sort it out.
David
On Thu, Jun 26, 2014 at 4:38 AM, Dylan Butman wrote:
> I'm working on a fun interactive documentation system for an O
The first button does not receive a cursor but a map containing cursors. The
following works for button 1:
(defn log-state
[state]
(prn @(:x state)))
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are s
The Om tutorial should not be used as a minimal case. If people want
to edit the tutorial so that it works for more browsers be my guest. I
would like to see minimal cases that reflects something occurring in
actual production code that demonstrates that there are serious issues
with IE8. It's like
It would be helpful if you could give us your code to look at. That may
make it easier to explain what you want to achieve as well.
But if I understand what you want (which may not be the case), you could
do something like this:
Assuming a data structure like so,
[{:type :item :pos 1} {:type :s
Hi,
I'm using swanodettes om for my web app. I have a list of items which will be
draggable to sort the list. Based on a specific value of the items I compute
some separators, which are then added to the list.
The separators use a different template, because they show other information
than the
Hello,
I'm loving Om but I'm encountering an issue using multiple cursors. Here's a
boiled-down version that demos the issue I'm seeing.
(defn log-state
[state]
(prn @state))
(defn button
[state owner]
(reify
om/IRender
(render [this]
(dom/button #js {:onClick #(log-state
On Thursday, 26 June 2014 00:44:45 UTC+2, g vim wrote:
> On 25/06/2014 20:05, Andrew Mcveigh wrote:
>
> > cljs-time, a ClojureScript rip-off of the clj-time library.
>
> >
>
> > Cljs-time is an attempt at replicating some of the functionality in
> > clj-time. This is not a drop-in clojurescrip
13 matches
Mail list logo