[ClojureScript] Re: where is the format function

2016-09-12 Thread mars0i
There's also cljs.pprint/cl-format, which is portable between Clojurescript and 
Clojure (there as clojure.pprint/cl-format).

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


[ClojureScript] Re: where is the format function

2016-09-12 Thread Francis Avila
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


[ClojureScript] KLIPSE (repl + plugin) just hit the 400 stars on github!

2016-09-12 Thread Yehonathan Sharvit
KLIPSE (https://github.com/viebel/klipse) is both clojure[script] web repl
and a plugin.

The repl is at: http://app.klipse.tech

The klipse plugin is a javascript tag that transforms static code snippets
of an html page into live and interactive snippets:

   1. Live: The code is executed in your browser
   2. Interactive: You can modify the code and it is evaluated as you type

The code evaluation is done in the browser with bootstraped clojurescript.

The code editing is done with CodeMirror .

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


[ClojureScript] Re: where is the format function

2016-09-12 Thread Karel Miarka
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.