This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-06
Channels
- # admin-announcements (1)
- # aws (12)
- # beginners (35)
- # boot (12)
- # cider (32)
- # cljsrn (5)
- # clojars (10)
- # clojure (20)
- # clojure-russia (60)
- # clojurescript (229)
- # community-development (14)
- # cursive (9)
- # data-science (4)
- # datomic (3)
- # funcool (2)
- # hoplon (29)
- # jobs (15)
- # jobs-discuss (53)
- # keechma (2)
- # luminus (8)
- # om (42)
- # onyx (15)
- # parinfer (22)
- # re-frame (12)
- # reagent (162)
- # spacemacs (1)
@flyboarder: are you still on the Polymer train btw? i was poring over your stuff recently, and working on webjars tasks to obviate need for bower
@alandipert: im still working on the libraries, as im trying to abstract a way to create ui libraries for hoplon easily, but we dropped it for our app as it doesnt support optimization at all and externs are unreliable from their community as well the whole loading process is premature
but if you want to play around with it it does work
cool. yeah i'm not sure i need optimizations of most kinds for what i have in mind
i share your reservations about the loading process
it's eery and unfortunate how close they are to hoplon... and also so far...
@alandipert: ok so the problem with loading is that all the files are html imports, meaning that you need to call the polymer framework before clojurescript, iv been working on cljsjs packages for web components the last few days to possibly work around this but this means we also dont have direct access to the polymer framework
so polymer only has late runtime capabilities
basically you get Polymer->cljs->hoplon->polymer
we moved to semantic-ui for the time being and making a hoplon library around it has been much easier
that doesn't use web components, right?
polymer uses webcomponents under the hood
i mean semantic ui isn't web component based?
no it’s just css and a bit of js
the direction i'm headed is something like your import-polymer
except it generates the html based on the webjars found in the classpath
i had issues getting the polymer components to pull in properly (lots of depedndency issues) which is why i went for the bower option
again because everything is html imports i believe
right, yeah
the breakthrough for me was finding http://www.webjars.org/bower
which gives me enough info to slurp those into the classpath in dep order and overlay into bower_components
on the fileset
anyway i might fiddle with it more before ditching for semanti ui, will keep you abreast
thats interesting, i found webjars bower wasnt able to resolve the elements properly
yeah, webjars packages things in META-INF/project/version/...
the webjar packaging needs to be undone to match the bower expectations
but now i gotta roll! catch you on the flip
ill throw up the semantic library i have in the next bit or maybe tomorrow, demoing what we have so far on tuesday so i gotta clean up all the repos
see ya
sounds awesome
later