Fix closure spacing in code examples
Merge pull request #1959 from bcrowe/3.0-closure-spacing

3.0 - Fix closure spacing in code examples