Match the code examples with the demo.
Merge pull request #330 from wbzyl/patch-2

Match the code examples with the demo.