Reorganize, add webpack sample

This commit is contained in:
Alex Dima 2018-03-14 16:37:11 +01:00
parent f692f47f73
commit f22dfb79ba
26 changed files with 8904 additions and 9 deletions

View file

@ -14,6 +14,19 @@ npm run simpleserver
Go to <a href="http://localhost:8888">localhost:8888</a> and explore the samples!
## Loading variations
* `browser-amd-editor`: running in a browser using `AMD` lazy loading.
* `browser-script-editor`: running in a browser using `AMD` synchronous loading via `<script>` tags.
* `electron-amd`: running in electron.
* `nwjs-amd` and `nwjs-amd-v2`: running in nwjs. it is reported that v2 works and the initial version does not.
## Other examples & techniques
* `browser-amd-diff-editor`: running the diff editor in a browser.
* `browser-amd-iframe`: running in an `<iframe>`.
* `browser-amd-localized`: running with the `German` locale.
* `browser-amd-monarch`: running with a custom language grammar written with Monarch.
* `browser-amd-shared-model`: using the same text model in two editors.
## License
MIT