Fix ES5 compatibility.

This commit is contained in:
pravic 2017-06-09 21:59:29 +03:00 committed by GitHub
parent 8a05f0d499
commit eba90f5440
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,