Skip to content

Hook up initial requirejs support.#16

Merged
dloverin merged 1 commit into
adobe-research:js-code-intelligencefrom
eztierney:js-code-intelligence
Apr 10, 2013
Merged

Hook up initial requirejs support.#16
dloverin merged 1 commit into
adobe-research:js-code-intelligencefrom
eztierney:js-code-intelligence

Conversation

@eztierney

Copy link
Copy Markdown

Sync to new version of tern, which has support for simplified common JS modules, which brackets uses.
Enable the requirejs tern plugin. Had to modify how we deal with file paths a bit - we were leaving in the leading '/', which made things look like an absolute path, and then tern would view '/test.js' as a different file than 'test.js'.
Some cleanup - add logging for errors from tern, delete some old commented out code.

Sync to new version of tern, which has support for simplified common JS modules, which brackets uses.
Enable the requirejs tern plugin.  Had to modify how we deal with file paths a bit - we were leaving in the leading '/', which made things look like an absolute path, and then tern would view '/test.js' as a different file than 'test.js'.
Some cleanup - add logging for errors from tern, delete some old commented out code.
@ghost ghost assigned dloverin Apr 10, 2013
dloverin pushed a commit that referenced this pull request Apr 10, 2013
Hook up initial requirejs support.
@dloverin dloverin merged commit fdb8f5b into adobe-research:js-code-intelligence Apr 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants