This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-16
Channels
- # admin-announcements (44)
- # adventofcode (2)
- # avi (1)
- # beginners (22)
- # boot (328)
- # cider (1)
- # cljs-dev (6)
- # cljsrn (29)
- # clojure (164)
- # clojure-chicago (1)
- # clojure-dev (7)
- # clojure-nl (5)
- # clojure-russia (73)
- # clojure-seattle (1)
- # clojure-turkiye (2)
- # clojured (1)
- # clojurescript (98)
- # core-async (6)
- # cursive (26)
- # datomic (9)
- # editors (5)
- # emacs (41)
- # events (3)
- # garden (2)
- # hoplon (125)
- # ldnclj (18)
- # om (178)
- # omnext (8)
- # onyx (5)
- # parinfer (1)
- # proton (5)
- # re-frame (20)
I threw that together, please have a read through and help improve
yes sir! but there are bugs because of jquery
i have had to do some creative formula cells
attributes are sent through a process in jquery which normalizes them, this nolonger applies as attributes have arbitrary names and developers can use existing attribute names
not just
example: select will always resolve to either selected
or selected=“selected"
Polymer uses this internally to select child elements to pull from shadow dom
so i came up with this….
use goog.dom
to set the attribute on hash change
yeah there are a few other bugs but my solutions keeps being to drop jquery, i understand why you are using it tho
this is the same situation as here i think https://github.com/hoplon/hoplon/wiki/Raw-material#svg-viewbox-and-other-case-sensitive-attributes
yeah i think that is also caused by the same normalization that happens
my problem is that i’d rather not override core framework stuff
i looked a bit into multimethods but maybe im misunderstanding how the overriding goes, should my index page contain the override? can I package that up in the silicone lib so it’s only there for Polymer stuff?
thats what I have now
ah ok so I can put that in core then
😛 haha yeah i like plays on words XD
here ill take the demo out of maintenance
yeah for sure, iv been meaning to get to it, im having a lot of fun over here with the two libs together
yeah but it’s via polymer
sorta kinda lol
polyfills is now entirely in webcomponents
so polymer is just polymer
there is a bit of a delay for sure but I dont think the issue is real
like the perf issue of it being slow, if you are building an app on this technology you are targeting it for latest browsers so the polyfills become less of an issue
hahah yeah perf issues usually mean more than a problem in the app, why are you running a browser so old? Is your new app really gonna be run on those?
hahahahaha
yeah it’s kinda a non issue, and mozilla not implementing imports right now is a wait for it kinda thing
i was looking at doing a fork of hoplon and implementing a bit of lucuma there
but im not sure how that all would work because of async issues in polymer
basically we need to load the polymer library before anything else otherwise the javascript engine will halt and do nothing
there are drawbacks to not be able create additional polymer elements the polymer way, such as styling requiring the classname versions instead of the mixins working
that is running an old build but you can see polymer and hoplon in action
@micha: click all the things!
the first load takes a bit
First-hand user of polymer here. Used it back when it was late beta. Abandoned it in favor of react because performance 😞 Hopefully, latest polymer performs better now.
@levitanong: I dont have much complaints with 1.0 expecially if you use the latest component versions
@micha: thats new, havnt seen that before
@flyboarder: Awesome!
haha is the login appearing?
lol the build on my laptop is more complete
yeah that was a requirement of this app, we need to build it without hiring a designer
so we picked a ui library and polymer recently hit 1.0 so its aligned up perfectly for us
it handles ui bits for us so I can build the actual app
I started with using material css lib and just raw hoplon but that was causing development to be slow because I needed to actually build all the complex ui elements, and things like modals are not implemented yet, getting polymer to work with hoplon has been great!!! fantastic work on both ends
thats a wrap for my evening, talk to you guys tomorrow 🍻
hahaha 😛 well I dont have the full lib implemented in silicone yet so feel free 😛
@jethroksy: @nonrecursive has a PR out on it with some docs - https://github.com/hoplon/castra/pull/14/files. you can also ask any questions here 😄
@alandipert: great! a pity the javelin walkthrough didn't come through... I'm on the other side of the earth so I couldn't make it
2.5.0 -> java.util.concurrent.ExecutionException: java.nio.file.AccessDeniedException: target\index.html.out\hoplon\app_pages\indexDOT_html.js