trufflesuite / trufflesuite.github.io

Staging Repo of Build Artifacts for Truffle Suite. Find the source at https://github.com/trufflesuite/trufflesuite.com
https://www.trufflesuite.com
34 stars 161 forks source link

Modernize Javascript snippets #151

Closed batjko closed 6 years ago

batjko commented 7 years ago

Standard ES6+ syntax, available in all browsers, also much more clear and easy to read.

I'll look at updating the box's existing .js files in the appropriate as well, but this for the purpose of the tutorial, it's not strictly necessary (just would look odd,

bmmpxf commented 6 years ago

Hi @batjko . We wrote this tutorial so that it would be applicable to as many users as possible, so we didn't want to require a build tool to convert ES6 to ES5. So for now, we're going to close this PR, but thanks so much for your suggestion!