Fork me on GitHub
#hoplon
<
2015-11-06
>
alandipert10:11:43

is anyone aware of a tool for stubbing externs automatically provided some e.g. jq plugin?

alandipert10:11:48

i remember running across one but i can't find it now

dm310:11:45

not sure if still works

alandipert10:11:58

i'm gonna try and make that thing a task

alandipert12:11:45

yeeeesss thanks @ul ! /cc @ulsa ^^

alandipert12:11:09

http://charbelrami.me/math-elements/ looks really cool, i can imagine a nice hoplon version easily

tbrooke13:11:02

@alandipert: enjoyed the talk - got the Simple idea across - firebase mention got me thinking so going to play with a hoplon firebase app and see what happens

alandipert14:11:58

@tbrooke: cool, i'm glad you liked! yeah i have a firebase experiment going, it's fun so far

Tim15:11:56

I quite like hoplon so far

Tim15:11:59

it is so nice

Tim15:11:20

I was just checking it out last night

alandipert17:11:11

@tmtwd: thanks for the kind words, glad you enjoy

thedavidmeister18:11:32

when i compile for prod i see this

thedavidmeister18:11:38

`
WARNING: Required namespace not provided for hoplon.app-pages.-index-DOT-html null
WARNING: Required namespace not provided for hoplon.app-pages.-style-guide-DOT-html null
`

thedavidmeister18:11:50

any idea what would be causing that?

thedavidmeister18:11:17

i noticed at the top it looks like:

thedavidmeister18:11:20

(page "index.html"
  (:require

thedavidmeister18:11:31

with no (ns foo)

thedavidmeister18:11:21

this is when running

thedavidmeister18:11:25

(cljs :optimizations :advanced)

Tim19:11:39

(def clicks (cell 0))
(def history (cell []))
(add-watch clicks :foo #(swap! history conj %3))
(cell= (print history))
When you have this, how come you don’t need to use add-watch on history like this (add-watch history :bar #(print history)) or something like that?

Tim19:11:04

or does (cell= … ) automatically add add-watch?

thedavidmeister19:11:02

cell= is different to cell

thedavidmeister19:11:28

cell= watches based on the function for you

thedavidmeister19:11:33

that’s what javelin does

micha19:11:42

yeah cell= is a formula, like in Excel

Tim20:11:14

interesting

Tim20:11:19

cool thank you simple_smile