aliengine / aliengine.github.io

Public website
https://aliengine.net
Other
5 stars 5 forks source link

move demo code snippets outside of JS file #18

Open francescobianco opened 4 years ago

francescobianco commented 4 years ago

move demo code snippets outside of JS file

I hope a good idea is use a JSON file with all codesnippets inside

Code snipper like this: https://github.com/aliengine/aliengine.github.io/blob/master/js/script.js#L53

@majuro16 @anugnes Does that make sense?