Skip to content

Commit

Permalink
Fix completion record for SM runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
bterlson committed Jun 30, 2017
1 parent 9f4a1b6 commit 1eac60d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtimes/sm.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ var $ = {
evalScript(code) {
try {
evaluate(code);
return { completion: 'normal', value: undefined };
return { type: 'normal', value: undefined };
} catch (e) {
return { completion: 'throw', value: e };
return { type: 'throw', value: e };
}
},
getGlobal(name) {
Expand Down

0 comments on commit 1eac60d

Please sign in to comment.