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

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";
}