We're updating the issue view to help you get more done. 

result of eval-str callback no longer returned

Description

Prior to 1.10.238 this code

(cjs/eval-str (cjs/empty-state) "(+ 1 1)" nil {:eval cjs/js-eval} (fn [x] (println x) x))

The callback would print the result map and then eval-str would return the result of the callback. Since 1.10.238 this code returns nil. While it is still possible to get at the result from the callback, the previous behaviour was convenient and the absence of a return value may break existing code.

Environment

None

Status

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

None

Affects versions

1.10.238

Priority

Minor