Sha256: c8b4ade70b6eea448e1bf470e4fe11eee30905348362efdf388b1fef21ad45ce

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

(ns hello-js.core)

(defn ^:export popup-msg
  [msg]
  (js/send_alert msg))

(popup-msg "ClojureScript calling a global function defined in an external JavaScript library")

(popup-msg (str "ClojureScript: the time is now " (js/Date.)))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clementine-0.0.3 ext/clojure-clojurescript-bef56a7/samples/hello-js/src/hello-js/core.cljs
clementine-0.0.2 ext/clojure-clojurescript-bef56a7/samples/hello-js/src/hello-js/core.cljs