I just posted to github my first clojurescript application: https://github.com/francisstephan/farsiscript It is a very simple application, translating latin characters to arabic / farsi characters, using reagent. In my first version, the translation was performed as follows: (map subst_ s)
where s is the original string (latin characters) and subst_ substitutes farsi characters to latin characters. While developing using figwheel, this seemed to work. But when I packaged the app for deployment, what I got was no longer an arabic/farsi string (where most characters connect to their left with the following character), but a sequence of unconnected arabic characters. This prompted me to change my code to: (reduce str "" (map subst_ s)) which works fine both in figwheel and in deployment version. Why this difference of behavior between figwheel and deployment version in the first instance ? -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/clojurescript.
