Merge pull request #320 from pravic/es5-fix

Fix ES5 compatibility.
This commit is contained in:
Mathieu David 2017-06-09 21:41:23 +02:00 committed by GitHub
commit a9862a56b3
1 changed files with 2 additions and 2 deletions

View File

@ -234,9 +234,9 @@ function run_rust_code(code_block) {
result_block = code_block.find(".result");
}
let text = code_block.find(".language-rust").text();
var text = code_block.find(".language-rust").text();
let params = {
var params = {
version: "stable",
optimize: "0",
code: text,