This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-27
Channels
- # beginners (113)
- # calva (39)
- # cider (18)
- # cljs-dev (19)
- # cljsrn (1)
- # clojure (80)
- # clojure-dusseldorf (1)
- # clojure-finland (1)
- # clojure-gamedev (1)
- # clojure-germany (2)
- # clojure-italy (38)
- # clojure-nl (16)
- # clojure-spec (90)
- # clojure-uk (81)
- # clojurescript (28)
- # clojutre (9)
- # cursive (47)
- # data-science (4)
- # datomic (21)
- # emacs (1)
- # events (2)
- # fulcro (11)
- # graphql (2)
- # hoplon (8)
- # hyperfiddle (23)
- # jobs (2)
- # kaocha (4)
- # lein-figwheel (1)
- # luminus (1)
- # mount (1)
- # off-topic (41)
- # pathom (5)
- # pedestal (27)
- # reitit (6)
- # remote-jobs (7)
- # ring-swagger (6)
- # shadow-cljs (42)
- # spacemacs (1)
- # sql (9)
- # tools-deps (6)
- # uncomplicate (2)
- # vim (5)
@thheller I think Closure has some polyfill support, does shadow do allow me to polyfill e.g. Promise
?
would it just be a matter of seting the output language to :es3
for example?
yes, but use :output-feature-set
. the :language-out
is sort of deprecated. https://shadow-cljs.github.io/docs/UsersGuide.html#_output_language_options
thanks
that’s fine
what’s the default for output-feature-set
?
should that polyfill Promise?
because it wasn’t working in IE11
oh > ES5 did not have promises.
so it isn’t polyfilling when it should?
or maybe it doesn’t by default?
that’s es6
@souenzzo @mdhaney 2.8.11
fixes the goog.loader
issue on react-native
and it should now load properly without errors. can't actually use it due to metro
but at least it won't break when loading.
@thheller do you maintain a changelog for shadow?
the changelog in the repo was last updated a year ago 😜
also, would shadow.loader.init
work for the CDN use case I mentioned?
@anmonteiro yes that was the intent. set :module-loader-init false
in the config an manually call shadow.loader.init("
, so only the prefix
trying that right now
if you could let me know I’d appreciate it
either here or tag me on a PR or commit?
if you remember
changelog kinda died. still need to set something up that generates that automatically
right now @jiyinyiyong kindly generates the release info for https://github.com/thheller/shadow-cljs/releases which is kinda nice
oh cool
will check that out