gecko-dev/devtools/client/sourceeditor/tern
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
..
tests/unit
browser.js
comment.js Bug 1226810 - Upgrade tern to 0.16;r=fitzgen 2015-12-16 10:15:23 -08:00
condense.js Bug 1226810 - Upgrade tern to 0.16;r=fitzgen 2015-12-16 10:15:23 -08:00
def.js Bug 1226810 - Upgrade tern to 0.16;r=fitzgen 2015-12-16 10:15:23 -08:00
ecma5.js
infer.js Bug 1226810 - Modifications to tern after upgrade;r=fitzgen 2015-12-16 10:15:23 -08:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
README Bug 1226810 - Modifications to tern after upgrade;r=fitzgen 2015-12-16 10:15:23 -08:00
signal.js Bug 1226810 - Upgrade tern to 0.16;r=fitzgen 2015-12-16 10:15:23 -08:00
tern.js Bug 1226810 - Modifications to tern after upgrade;r=fitzgen 2015-12-16 10:15:23 -08:00

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