This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-29
Channels
- # aws-lambda (13)
- # beginners (4)
- # cider (6)
- # cljs-dev (1)
- # cljsrn (4)
- # clojure (134)
- # clojure-android (7)
- # clojure-dev (14)
- # clojure-russia (18)
- # clojure-spec (3)
- # clojurescript (81)
- # core-matrix (2)
- # datomic (9)
- # figwheel (1)
- # hoplon (11)
- # lumo (10)
- # off-topic (18)
- # onyx (78)
- # pedestal (5)
- # portkey (2)
- # re-frame (8)
- # reagent (3)
- # rum (1)
- # spacemacs (23)
- # yada (5)
Any ideas why this prints a result
// node request.js
var request = require("request");
request(
" ",
function(error, response, body){
console.log("body", body);
}
);
but this doesn’t?
;; lumo request.cljs
(def request (js/require "request"))
(request
" "
(fn [error response body]
(println "body" body)))
@jonathandale probably a bug
can you file a bug with that example?
Sure thing
I know what's wrong
Ok, cool… will file an issue.
@jonathandale fixed your issue. If you want you can download a nightly binary with the fix as described here: https://github.com/anmonteiro/lumo/issues/65#issuecomment-271357273
@anmonteiro great thanks, will try the binary.