goog.string.format definitely still exists: http://google.github.io/closure-library/api/goog.string.format.html
goog.string also has many specialized formatting functions. For example, for leading zeros, use goog.string/padNumber: http://google.github.io/closure-library/api/goog.string.html#padNumber On Monday, September 12, 2016 at 9:05:05 AM UTC-5, Karel Miarka wrote: > Have you already found the answer? Could you please share it? > > On Thursday, May 1, 2014 at 5:26:40 AM UTC+2, Yehonathan Sharvit wrote: > > It seems that “format” has been removed from cljs. > > > > It was added 2 years ago in > > https://github.com/clojure/clojurescript/commit/8f518760a3df8b351208e97bb70270856623bb0a > > > > > > > > > > Also, goog.string.format is not available any more. > > > > > > > > My question is: what is the best way to add leading zeros in cljs? -- 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.
