ace2

the ace editor, adjust for cmd loading


Licenses
SMLNJ/BSD-1-Clause
Install
npm install ace2@1.2.3-beta.1

Documentation

ace2

wraper the origin ace code, let it can be required as an cmd module

build & test

init project code

git clone
npm install .

build ace from vx.y.z:

./build.sh x.y.z

test build result:

npm run example

then brower open http://localhost:9999

when editor is working fine, release the code:

make release

usage

var ace = require('ace2');

var editor = ace.edit("editor");
editor.setTheme("ace/theme/twilight");
editor.session.setMode("ace/mode/javascript");

full api doc is here

for react user, react-ace2