This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-26
Channels
- # aws-lambda (1)
- # beginners (71)
- # boot (70)
- # bristol-clojurians (1)
- # cider (2)
- # clara (13)
- # cljs-dev (96)
- # cljsjs (6)
- # cljsrn (5)
- # clojure (74)
- # clojure-android (3)
- # clojure-austin (4)
- # clojure-dev (10)
- # clojure-russia (6)
- # clojure-spec (28)
- # clojure-uk (128)
- # clojurescript (64)
- # cursive (2)
- # datascript (18)
- # datomic (116)
- # dirac (1)
- # emacs (12)
- # events (10)
- # hoplon (109)
- # jobs (1)
- # jobs-discuss (21)
- # leiningen (2)
- # luminus (6)
- # off-topic (19)
- # om (21)
- # om-next (5)
- # onyx (4)
- # parinfer (29)
- # perun (20)
- # re-frame (53)
- # reagent (21)
- # remote-jobs (5)
- # ring-swagger (2)
- # spacemacs (6)
- # untangled (42)
- # vim (5)
Is anyone interested in working on a Styletron wrapper? Think with the latest news regarding cljs this would be a awesome to have.
Hi I'm pretty new to clojure and I'm a little stuck atm. I'm following along with http://www.luminusweb.net/docs/clojurescript.md and I can't get figwheel to work.
After creating the project I changed the text in core.cljs by adding an exclamation mark at the end of "welcome to <app>"
My browser then appears to attempt to update but instead I get a warning and it doesn't update.
Under the Figwheel key @caleb.macdonaldblack
like this? @dominicm
Also this is a fresh project. The only change I made was to the string i modified in core.cljs. Did I do something wrong when setting up the project?
@caleb.macdonaldblack yes, although I do not use it as a string:
:on-jsload too.core/mount
I'm not sure if it makes a difference though, but it may.
I think text should be preferred images btw, easier to read and pull subsets for tests.
hmm. There isn't a mount function in my <app>.core namespace
(ns deletable4.core)
(defn init! []
(let [content (js/document.getElementById "app")]
(while (.hasChildNodes content)
(.removeChild content (.-lastChild content)))
(.appendChild content (js/document.createTextNode "Welcome to deletable4"))))
@caleb.macdonaldblack change the line to on-js-load deletable4.core/init!
it will work for you.
Hey guys, I have a question on Datomic/DataScript/Om.Next. Would this be the right place to ask it?
Hi all I am so sorry for very dump question but I spent some hours with some instruction but still can not connect fireplace to figwheel (looking aroung with Piggieback as weel) Can anyone point me any example project which I can use I use vim and fireplace on Mac
@nothingdhsp I use fireplace & figwheel
^^ this I want to know too, it seemed way too complicated when I first set up my env so I gave up and have been using figwheel from another terminal
oh I see. Do you have any project sample
https://github.com/markwoodhall/vim-figwheel this is rather helpful as a shortcut too.
@nothingdhsp In the past I've used chestnut (and bumped up the figwheel versions in that template).
oh thank you for the vim-figwheel information
I found the template project on that website as weel
as well
@dominicm @ejelome I installed a fresh luminous project with cljs and reframe. I had to add :nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]
to repl-options
in project.clj. Now everything is working. Thanks for helping me out though 🙂
@akiroz @nothingdhsp you may be interested in #vim-fireplace btw
@dominic : Thank you
@dominicm : have you ever got this error vim-figwheel requires the vim-fireplace plugin but it is not currently loaded or installed.
I am very sure I have fireplace , which I always use for my clojure ( not script) development
@nothingdhsp No, but I imagine you don't have vim-fireplace / a recent fireplace.
thank
It seems react team is doing a react re-write/implementation: https://github.com/acdlite/react-fiber-architecture/blob/master/README.md
How do I make ClojureScript generate require("./shell/goog/bootstrap/nodejs.js"); instead of require(path.join(path.resolve("."),"shell","goog","bootstrap","nodejs.js"));?
Not really. I'm not manually requiring these files. The ClojureScript compiler it's generating those lines on its own.
ahhh, so it's the compiler, welp, no idea then, but it's the Closure compiler that does those stuff as far as I'm aware of
No, I don't think it's Closure and I also don't think there's a way to do what I want:
@dominicm because the full-path require doesn't work in an asar-packaged electron application.
@dnolen I run into this issue: http://dev.clojure.org/jira/browse/CLJS-1444 and it's affecting me, so, I'd like to work on a solution. Is there any solution that would be acceptable?