Mypal/devtools/client/sourceeditor/tern
Fedor 75fc2843ab Nuke vim lines. 2021-02-04 16:48:36 +02:00
..
tests/unit basic source 2019-03-11 13:26:37 +03:00
README ooops, some files where missed 2019-03-12 18:31:25 +03:00
browser.js basic source 2019-03-11 13:26:37 +03:00
comment.js basic source 2019-03-11 13:26:37 +03:00
condense.js basic source 2019-03-11 13:26:37 +03:00
def.js basic source 2019-03-11 13:26:37 +03:00
ecma5.js basic source 2019-03-11 13:26:37 +03:00
infer.js basic source 2019-03-11 13:26:37 +03:00
moz.build Nuke vim lines. 2021-02-04 16:48:36 +02:00
signal.js basic source 2019-03-11 13:26:37 +03:00
tern.js basic source 2019-03-11 13:26:37 +03:00

README

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/`