This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-21
Channels
- # admin-announcements (2)
- # beginners (22)
- # boot (223)
- # cider (161)
- # cljs-dev (19)
- # cljsrn (4)
- # clojure (186)
- # clojure-austin (6)
- # clojure-beijing (1)
- # clojure-boston (3)
- # clojure-china (1)
- # clojure-czech (1)
- # clojure-france (1)
- # clojure-greece (10)
- # clojure-russia (17)
- # clojure-uk (154)
- # clojurebridge (3)
- # clojurescript (82)
- # component (12)
- # cursive (12)
- # datomic (71)
- # dirac (3)
- # editors (2)
- # emacs (29)
- # flambo (31)
- # hoplon (21)
- # immutant (11)
- # instaparse (17)
- # jobs (2)
- # jobs-discuss (2)
- # jobs-rus (1)
- # lein-figwheel (12)
- # leiningen (2)
- # off-topic (44)
- # om (78)
- # onyx (38)
- # parinfer (1)
- # re-frame (34)
- # reagent (32)
- # spacemacs (56)
- # untangled (74)
- # vim (12)
- # yada (2)
@dnolen: I did some research on the shims, updated the patch and left a comment http://dev.clojure.org/jira/browse/CLJS-1628
another thing worth considering whether we should even generate this test if the user isn’t emitting >= ES6
David, I added more information to the ticket. not quite sure if the str fn should handle symbols. I think it should, but would appreciate feedback on this.
sorry I looked over the comments, yeah ok, but yes this definitely needs to be separate issue - the current issue losing focus fast
@r0man: also people must have encountered this problem when using shims - how are JS people doing type detection? typeof (for native) + instance check (for shim)?
@dnolen: the core-js shim uses the approach you just described https://github.com/zloirock/core-js/blob/master/modules/es6.symbol.js#L68
yes, symbol does have a toString method, but I think it is not used via the str function. Also Francis Avila just pointed out that my suggestion of using toString is not possible because of some issue on safari
btw, given that this issue and http://dev.clojure.org/jira/browse/CLJS-890 have something to do with browser quircks is there interest in running the ClojureScript tests in different browsers via SauceLabs or something similar?