Skip to content

Commit

Permalink
fix: remove :else case
Browse files Browse the repository at this point in the history
  • Loading branch information
dviramontes committed Dec 8, 2017
1 parent bb071a5 commit 3c0aee6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/klipse/klipse_editors.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
(let [event-payload
(cond
(string? first-result) (clj->js {:detail {:state previous-results}})
(vector? first-result) (clj->js {:detail {:state (clj->js previous-results)}})
:else (clj->js {:detail {:state previous-results}}))]
(vector? first-result) (clj->js {:detail {:state (clj->js previous-results)}}))]
(-> klipse-dom-node
(.dispatchEvent (js/CustomEvent. "klipse-snippet-evaled" event-payload)))))
(let [result (<! evaluation-chan)
Expand Down

0 comments on commit 3c0aee6

Please sign in to comment.