gecko-dev/devtools/client/sourceeditor/tern
2017-12-21 11:08:17 +01:00
..
tests/unit Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
browser.js
comment.js
condense.js
def.js
ecma5.js
infer.js
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
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/`