Permalink
Browse files

Fixed to js/error

  • Loading branch information...
1 parent d0b0294 commit 8478d9f493fba4ab0e2e2f8bdc8317470fe895b6 @fogus committed Apr 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/public/synonym.html
@@ -1299,7 +1299,7 @@ <h4>Catch an exception</h4>
<pre class="brush: clojure">
(try
(undefined-function)
- (catch Error e
+ (catch js/Error e
(if (= (type e) js/ReferenceError)
(println
(str "You called a function"

0 comments on commit 8478d9f

Please sign in to comment.