aboutsummaryrefslogtreecommitdiff
path: root/clojurescript/clj.js
diff options
context:
space:
mode:
Diffstat (limited to 'clojurescript/clj.js')
-rw-r--r--clojurescript/clj.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/clojurescript/clj.js b/clojurescript/clj.js
index cccd3c66..dc02b756 100644
--- a/clojurescript/clj.js
+++ b/clojurescript/clj.js
@@ -129,7 +129,8 @@ clojure = new clojure_Namespace({
JS: {
merge: clojure_merge,
global: clojure_global,
- variatic: function( f ) {
+ variatic: function( arity, f ) {
+ f.arity = arity;
f.isVariatic = true;
return f;
},