gecko-dev/devtools/client/sourceeditor/tern
Boris Zbarsky 837dc7eaaa Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot
MozReview-Commit-ID: 2FK1MA4LGZj
2018-03-20 00:16:07 -04:00
..
tests/unit Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes 2018-02-07 01:37:36 -08:00
browser.js Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot 2018-03-20 00:16:07 -04:00
comment.js
condense.js Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
def.js
ecma5.js
infer.js Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
moz.build
README
signal.js
tern.js

This is the Tern code-analysis engine packaged for the Mozilla Project.

Tern is a stand-alone code-analysis engine for JavaScript. It is intended to be used with a code editor plugin to enhance the editor's support for intelligent JavaScript editing


# Upgrade

Currently used version is 0.6.2.  To upgrade, download the latest release from http://ternjs.net/, and copy the files from lib/ into this directory.

You may also need to update the CodeMirror plugin found in devtools/client/sourceeditor/codemirror/addon/tern, but it will most likely work without updating.

Replace instances of `require("acorn")` with `require("acorn/acorn")`
Replace instances of `acorn/dist/` with `acorn/`