habbes / xaval

Interactive web-based playground for computer vision exploration and experimentation
https://xaval.habbes.xyz
5 stars 0 forks source link

Monaco editor #40

Closed habbes closed 6 years ago

habbes commented 6 years ago

Addresses issue #34

I've added support for the Monaco editor, however I reverted back to Ace because Monaco leader to larger build sizes, including the app.js shooting past 1MB in size.

I added methods createAceEditor() and createMonacoEditor() helper functions to create an editor with either of the provider. This will make it easier to switch to Monaco when I figure out how to optimise the build or when I otherwise decide to go ahead with it.