One more ES5 fix.

This commit is contained in:
pravic 2017-06-09 22:48:57 +03:00 committed by GitHub
parent eba90f5440
commit 56163f69f8
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ function run_rust_code(code_block) {
code: text,
};
if(text.includes("#![feature")) {
if(text.indexOf("#![feature") !== -1) {
params.version = "nightly";
}