mozilla-spidermonkey / spidermonkey-embedding-examples

Documentation and examples for embedding the SpiderMonkey JavaScript / WebAssembly engine in their applications.
Other
195 stars 33 forks source link

Use common boilerplate code for examples #18

Closed tynopex closed 5 years ago

tynopex commented 5 years ago

This adds a boilerplate.cpp file and moves minimal initialization code to it to avoid duplication in examples.