Merge pull request #321 from pravic/es5-fix

One more ES5 fix.
This commit is contained in:
Mathieu David 2017-06-09 22:10:03 +02:00 committed by GitHub
commit 6c279453d9
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";
}