Skip to content

Commit

Permalink
fix "ReferenceError: Can't find variable: puts" on i.html (fix #93)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhara committed Apr 12, 2017
1 parent 6ca636b commit ff54a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/i.html
Expand Up @@ -35,13 +35,13 @@ <h4>Powered by <a href="../index.html" rel="external">BiwaScheme</a><br>
$('#ver').text(BiwaScheme.Version);

var intp = new BiwaScheme.Interpreter(function(e){
puts(e);
Console.puts(e);
});
$('#src').change(function(){
$('#bs-console').empty();
var src = $('#src').val();
intp.evaluate(src, function(result){
puts(result);
Console.puts(result);
});
}).trigger('change');
})
Expand Down

0 comments on commit ff54a0c

Please sign in to comment.