I am having a weird issue rendering a password field inside a form which
happens only in firefox
This code is given below:
(ns app.user
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[goog.dom :as gdom]))
(def password-data (atom
On Friday, 7 November 2014 15:58:43 UTC+2, Rory Douglas wrote:
> I'd love it if external browser connection could automatically update the
> websocket port in my index.html so I don't have to. Or perhaps manage the
> port lifecycle and assign a stable port per project.
>
> I personally really l
-What do you mean by CLJS debugging via Chrome DevTools ?
You can use the Source tab to set breakpoints on the CLJS files (works thanks
to the source maps), and step through your code. A similar tool for Clojure
itself would be awesome :-)
--
Note that posts from new members are moderated -
On Sunday, November 9, 2014 3:21:19 PM UTC+1, Rory Douglas wrote:
> -What do you mean by CLJS debugging via Chrome DevTools ?
>
>
> You can use the Source tab to set breakpoints on the CLJS files (works thanks
> to the source maps), and step through your code. A similar tool for Clojure
> its
Hey there,
ever since I have read Mike Haney's entry about his (Reagent based)
application's architecture [1] I'm intrigued by the idea of combining
DataScript centrality/simplicity with the modularity/isolation of Om components
& cursors.
But my current minimal understanding of the ClojureScr
My guess would be autocomplete, stored in your browser.
You can try (dom/input #js {:type "password" :id "test-password" :autocomplete
"off"}).
HTH,
/thomas
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you a
Hi Everyone,
I'm new to ClojureScript, but I've been doing Clojure for a while, and this was
something that's been catching me out a lot.
In Clojure, attempts to use an undefined var result in a compiler error,
whereas in CLJS they are left to fail at runtime. Presumably this is to play
nicely
I've found this troublesome too when starting out. The compiler does catch
the obvious cases but there's still many that slip through. I found that
I'm more careful now and overall don't find it too troublesome anymore. I
guess you just get used to it. It would be nice if the compiler could warn
yo
The compiler accurately warns in the case of non-higher order usage.
For the other cases - the JS debugger is your friend. With source maps
enabled and triggering JS debugger break points on uncaught
exceptions, finding out the source of a bad function invocation
shouldn't take you more than a few
ClojureScript's core.async doesn't include blocking functions like alts!!
and http://groups.google.com/group/clojurescript.
This is true - with source maps most occurrences are easy to track down.
On Sun, 9 Nov 2014 19:27 David Nolen wrote:
> The compiler accurately warns in the case of non-higher order usage.
> For the other cases - the JS debugger is your friend. With source maps
> enabled and triggering JS debugge
Not sure if I'm going something wrong, bit watches rarely work for me. As
for debugging, there are times when it's just easier to click through your
app to the point it breaks and see the function params than manually
replicate the app state at that point via REPL. I also find identifying
bugs in r
Hi Glenn,
I ran into that problem several times. Initially I just gave up. In a
second iteration I tried to debug the problem by reducing program to get a
minimal repro of the issue. This proved to be a great learning experience.
Here are the issues I discovered:
1. A big source of problems was t
These are excellent tips.
On Sun, Nov 9, 2014 at 4:46 PM, Asim Jalis wrote:
> Hi Glenn,
>
> I ran into that problem several times. Initially I just gave up. In a second
> iteration I tried to debug the problem by reducing program to get a minimal
> repro of the issue. This proved to be a great le
Cheers for the advice everyone.
For some reason I had assumed warnings would appear in the js console, but of
course warnings are emitted by the cljsbuild compiler!
I've been using figwheel, so hadn't really paid much attention to the
watch/compile terminal after starting it.
I'll have to try
15 matches
Mail list logo