This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-23
Channels
- # arachne (3)
- # aws (1)
- # bangalore-clj (2)
- # beginners (19)
- # boot (151)
- # cider (72)
- # cljs-dev (9)
- # cljsjs (7)
- # cljsrn (37)
- # clojure (215)
- # clojure-austin (1)
- # clojure-denmark (2)
- # clojure-dev (68)
- # clojure-india (1)
- # clojure-ireland (2)
- # clojure-italy (4)
- # clojure-mke (1)
- # clojure-nl (4)
- # clojure-russia (4)
- # clojure-serbia (1)
- # clojure-spec (29)
- # clojure-uk (23)
- # clojurescript (23)
- # cursive (24)
- # datomic (71)
- # emacs (5)
- # events (1)
- # gsoc (11)
- # hoplon (20)
- # klipse (4)
- # lambdaisland (2)
- # leiningen (3)
- # luminus (3)
- # off-topic (30)
- # om (40)
- # om-next (1)
- # onyx (15)
- # pedestal (19)
- # perun (7)
- # planck (23)
- # proton (1)
- # protorepl (2)
- # re-frame (35)
- # reagent (21)
- # ring-swagger (38)
- # rum (19)
- # spacemacs (9)
- # untangled (11)
- # vim (5)
- # yada (4)
@flyboarder Thanks! I will experiment along those lines. The part that’s confusing me is that although things work fine when I run via electron target/
, once it gets rolled up into a .app via electron-packager
, it doesn’t, even though all the code appears to be where I think it should be, in the Resources/app.asar
. I have tried with @martinklepsch‘s electron-and-clojurescript sample as well (https://github.com/martinklepsch/electron-and-clojurescript) to see if it was something with my setup, but I get the same result.
@candera: I'll be extending boot-electron to package things for us probably come February
Many utility Node packages could be better rewritten as cljs
That would be handy, and I probably don't really need it before then, but it's bugging me now so I'll probably have to figure it out to keep from going nuts :)
OK, got @martinklepsch’s electron-and-clojurescript example working with simple/advanced compilation. Could have sworn I tried that before, but given that I had to add a (target)
task, clearly that was not the case. 🙂 I should be able to use that as a template for my more complicated app - thanks for the help @flyboarder !
@candera: if you get a good packaging process down, feel free to open an issue and document it on boot-electron repo
Would help for the future
OK, I can do that. Traveling this week, which may mean either more or less time to do that, but I will attempt. You want it as an issue? I’m not actually using boot-electron yet.
hmmm, anyone know how i can get something like startOffset
to work with svg?
it's lowercasing to startoffset
@candera: yeah an issue would be nice, I'd like boot-electron to be able to build, package and launch electron apps
@flyboarder Issues don’t seem to be enabled for your project.
@micha @jumblerg any idea why this started throwing errors in my tests when i bumped hoplon to alpha17?
(when (not (:static attrs))
(remove-all-kids! elem)
(add-children! elem kids)))))
i set :static
to true on my body
tag to make the error go away, not sure what that means?
error looks like this:
ERROR in (??current-page) (hoplon$core$remove_all_kids_BANG_@file:262:6)
Uncaught exception, not in assertion.
expected: nil
actual: #object[TypeError TypeError: null is not an object (evaluating 'this$.hoplonKids = null')]
hmmm, setting :static
to true on the body tag seems to break the app 😕
(prn (.-outerHTML js/document))
appears to be nil
in phantomjs, so i'd say it's not possible to "remove kids" from the body
in that case