corrected code example

I don't think `addAssets` is a method
Merge pull request #118 from slang800/patch-1

corrected code example