Hi Guys

Is there a recommended polyfill for working with IE8?

I'm using console-polyfill <https://github.com/paulmillr/console-polyfill>
but it's not compatible with enable-console-print! because it uses .apply
which is undefined <http://stackoverflow.com/a/1262103/176453>.

(defn enable-console-print!
  "Set *print-fn* to console.log"
  []
  (set! *print-newline* false)
  (set! *print-fn*
    (fn [& args]
      (.apply (.-log js/console) js/console (into-array args)))))


thanks, Oliver

-- 
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 http://groups.google.com/group/clojurescript.

Reply via email to