Add promise snippet
Merge pull request #68 from ponychicken/master

Add promise snippet