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

Fix require condition #213

Closed teixas closed 6 years ago

teixas commented 6 years ago

Hi @bmmpxf!

This is a follow up of PR #137. Sorry about that pull request since it was a bit messy.

In fact, there was only a single glitch on the accepted PR #123. It's the condition that is specified on required function. The transition from throw function implies a negation of the expression used.

Hope that's more clear now ;)

bmmpxf commented 6 years ago

Hi @teixas . I just checked, and that fix is in, and you should see it here:

http://truffleframework.com/tutorials/pet-shop

Also, just so you are aware, we've recently split up repositories to reduce confusion for our users, and so all of the website source code is now over here:

https://github.com/trufflesuite/trufflesuite.com

Please submit all future website suggestions/fixes in that repository and we'll get to them as soon as we can. Thanks!