mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 23:35:18 +00:00
f31f6b3bef
JavaScript strict warning: resource://gre/modules/devtools/tern/def.js, line 80: TypeError: variable re redeclares argument JavaScript strict warning: resource://gre/modules/devtools/tern/def.js, line 190: TypeError: variable name redeclares argument
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 toolkit/devtools/sourceeditor/codemirror/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/`