CLJS outputs valid ES3 code, but string.prototype.normalizer is API, and can be added with a polyfill. That said, I don't really like code that depends on polyfills to function, so another solution would be preferred, especially since ES6 isn't that supported yet.
søndag 21. juni 2015 17.23.37 UTC+2 skrev Lars Andersen følgende: > > I thought about writing a cljs port, but I don't write much cljs so I > thought better of it. Software quality usually suffers when it isn't used > by the author, I think. > > I'd love to find a collaborator to work on the cljs port of this library. > > ES6 actually adds string.prototype.normalizer but IIRC cljs usually > targets ES3. > > On Sunday, June 21, 2015 at 4:05:23 PM UTC+2, Karsten Schmidt wrote: >> >> That's ++great, Lars! Would you be open to convert this into CLJC so >> it can all be used from CLJS as well? I guess the main stumbling block >> is the use of java.text.Normalizer in strip-accents, but that could be >> replaced with a hardcoded regexp solution for CLJS... >> >> Thanks! >> >> On 21 June 2015 at 13:45, Lars Andersen <ex...@expez.com> wrote: >> > I'm happy to announce the first release of superstring, a string >> > manipulation library for clojure. >> > >> > Read more about why I wrote superstring here: >> > https://github.com/expez/superstring >> > >> > Or check out the api docs for a quick overview of what's provided: >> > http://expez.github.io/superstring/doc/superstring.core.html >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Clojure" group. >> > To post to this group, send email to clo...@googlegroups.com >> > Note that posts from new members are moderated - please be patient with >> your >> > first post. >> > To unsubscribe from this group, send email to >> > clojure+u...@googlegroups.com >> > For more options, visit this group at >> > http://groups.google.com/group/clojure?hl=en >> > --- >> > You received this message because you are subscribed to the Google >> Groups >> > "Clojure" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to clojure+u...@googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Karsten Schmidt >> http://postspectacular.com | http://thi.ng | http://toxiclibs.org >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.