CodeMirror Plus: builder addon with RequireJS module loading demo
This demo demonstrates many of the addons included in this package. For example:
- Use
Alt-X
to run CodeMirror commands - Use
Alt-E
to run (evaluate) javascript (in sandbox) Ctrl-Space
for auto completeCtrl-F
for searchF10
to toggle lint on/off.
Note: The demo requires codemirror
and a few other packages install. Run npm install
at root diectory to install them.
Dependencies: The demo loads its dependencies
with Require.js, rather than
explicitly. While the bulk of the dependencies is handled by CodeMirror.builder
addon, it still requires:
- The namespaces of various libaries be setup via
require.config()
. - CSS stylesheets be explicitly linked.
[HTML]
Tips: