Fork me on GitHub
#hoplon
<
2015-10-13
>
jink01:10:02

pandeiro changes works for me Window 10...yeah!!

onetom09:10:26

@alandipert: my colleague just says it looks like the half life logo 😉

onetom09:10:56

soooo approved 😉

onetom09:10:55

quick question: how can we focus an input field on a hoplon "screen" when it appears? eg we are switching between menu items and we want the 1st field in the appearing forms to be focused.

onetom09:10:56

i know we can do a .focus() of the corresponding <input> element, but is there are recommended pattern doing that in hoplon?

onetom09:10:14

obviously i dont want to search for it with jquery simple_smile

micha12:10:57

@onetom: there are the :focus and :focus-select attributes you can use

micha12:10:29

you bind them to a call that becomes true when you want to focus the input

micha12:10:46

(eg. when the route is a certain thing, etc)

onetom13:10:12

@micha: thx, that sounds awesome! now i remember i saw it in the source just never used it yet.

micha13:10:00

we should move the on! and do! implementations to a different namespace i think

micha13:10:16

so they can be more easily documented

symbit15:10:40

@micha Let me know if I can test boot-jetty f on windows 7 for you.

levitanong16:10:17

Hi all, what’s the idiomatic way of splitting off your components into separate files/namespaces? Is this even recommended? Do I place them into another .cljs.hl? What about (page)? So many questions!

tbrooke18:10:33

Why Castra? I read the exchange at: http://hoplon.discoursehosting.net/t/castra-advantages-over-rest-api/470 . I still don’t see the advantage of Castra - I can sort of see it if I had a database on my server - I want to link Hoplon with Usergrid and/or http://Prismic.io (a CMS) I thought of routing remote http requests through Castra and I could run it on lambda, which would be cool - but on reflection why not just make http calls from Hoplon and skip Castra

alandipert19:10:32

@tbrooke: yeah castra only makes sense if you own the server

tbrooke19:10:36

@alandipert: Thanks Thought I might be missing something

andrewboltachev22:10:13

Hi. Has anybody discovered what JS turns into? http://es6-features.org/#StringInterpolation Scary

andrewboltachev23:10:27

Also they added that "let" which isn't functional