Browse files

Use a symbol instead of a string to specify export name in example.

  • Loading branch information...
1 parent d2eb26f commit 44b62a2bd0e514a44975b0aaf851539ee45755b3 @brentonashworth brentonashworth committed Jun 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/hello/src/hello/core.cljs
@@ -1,7 +1,7 @@
(ns hello.core
(:require [ :as bar]))
-(defn ^{:export "greet"} greet [n]
+(defn ^{:export greet} greet [n]
(str "Hello " n))
(defn ^:export sum [xs]

0 comments on commit 44b62a2

Please sign in to comment.