This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # alda (3)
- # beginners (109)
- # boot (24)
- # cljsrn (17)
- # clojure (41)
- # clojure-brasil (2)
- # clojure-china (1)
- # clojure-russia (19)
- # clojure-spec (9)
- # clojure-uk (5)
- # clojurescript (44)
- # cloverage (5)
- # core-async (3)
- # css (2)
- # datascript (6)
- # datomic (26)
- # emacs (2)
- # events (10)
- # hoplon (24)
- # lambdaisland (1)
- # om (2)
- # onyx (16)
- # other-languages (10)
- # proto-repl (2)
- # re-frame (14)
- # spacemacs (2)
- # untangled (4)
- # videos (1)
Hi All, what is the interop for a js function denoted with “#”, like Long#add() (https://github.com/dcodeIO/long.js#longaddaddend)
im familiar with invoking functions with a form like (.add long foo), but I am not sure what to do with the hash
I’ve seen that used before in Ruby contexts to describe an instance method, it looks like that’s how it’s being used here, although I haven’t seen it used in JS like that before. I think you’d just do
Anyone know the google closure equivalent to jQuery slide up/down? Not looking to use jQuery.
@flyboarder: Have you seen this? Based on the wording though, it doesn’t seem like the
slide here works the same as in jQuery.
@levitanong: I think the problem is that
goog.fx slides all use coordinates not directions, so im going to have to figure out how to get the coordinates and calculate the bottom edge position from the current position??
@flyboarder: As I read further, it does seem that
slide isn’t what you want. I think the right way to go is
resize. With it, you can choose the direction of resizing, and then all you’d have to do is calculate the final dimensions of the element.
The one in jQuery assumes a vertical axis, so it gets easier with http://www.hobsonassoc.com/scripts/closure/goog/docs/class_goog_fx_dom_ResizeHeight.html
@levitanong: I’m still not quite following you, could you provide an example of what you are thinking?
If you were to use resize, you would have had to render the element on dom while invisible, store the final dimensions, then resize it from a height of 0 to its final height.
@pesterhazy: I think the work arround for react-native in cljs is a little bit complex?
is anyone aware of an issue with transitive cljsjs dependencies interfering with regular lein tasks?
i have a project where i’m using Garden via
lein-garden and have a couple of cljsjs deps
some of those have cljsjs deps of their own (e.g.
cljsjs/react-burger-menu depends on
lein garden breaks trying to find the transitive cljsjs deps in Maven central (they’re legitimately not there, they’re only in clojars)
writing it out like this make me think it’s a
lein-garden (or Garden) issue, just wondered if anyone else had experienced this?
In case so, Hoplon docs have this in them:
So no templating in hoplon?
How will templating and HTML processing work in HLisp? Solution: None, yet.
@matan: the #hoplon channel is pretty active and helpful, probably worth trying there too