andrewmcveigh / cljs-time

A clj-time inspired date library for clojurescript.
342 stars 57 forks source link

show-formatters does not work #1

Closed akonring closed 10 years ago

akonring commented 10 years ago

Don't know why I am unable to call this function when all the other work well

cljs-tut.core> (f/show-formatters) "Error evaluating:" (f/show-formatters) :as "cljs_time.format.show_formatters.call(null);\n"

<TypeError: Cannot read property 'call' of undefined>

TypeError: Cannot read property 'call' of undefined at eval (eval at (http://localhost:8080/js/cljs_tut.js:37557:260), :1:97) at eval (eval at (http://localhost:8080/js/cljs_tut.js:37557:260), :5:3) at http://localhost:8080/js/cljs_tut.js:37557:255 at evaluate_javascript (http://localhost:8080/js/cljs_tut.js:37570:4) at Object.callback (http://localhost:8080/js/cljs_tut.js:37635:181) at goog.messaging.AbstractChannel.deliver (http://localhost:8080/js/cljs_tut.js:35417:13) at goog.net.xpc.CrossPageChannel.xpcDeliver (http://localhost:8080/js/cljs_tut.js:36959:14) at Function.goog.net.xpc.NativeMessagingTransport.messageReceived_ (http://localhost:8080/js/cljs_tut.js:36373:13) at goog.events.Listener.handleEvent (http://localhost:8080/js/cljs_tut.js:30374:26) at Object.goog.events.fireListener (http://localhost:8080/js/cljs_tut.js:30751:19) nil

andrewmcveigh commented 10 years ago

I've just released v0.1.2, it should be working in that. Thanks!