Add tests for jscodehints in an html file.

Also fix some bugs with jump-to-def and function type hints uncovered by the tests.
This commit is contained in:
Erik Tierney committed 2013-05-02 16:28:40 -04:00
1 parent 0755c30d58
commit 9416e75828
3 files changed
+69 -10

No files matched your search

@@ -152,7 +152,7 @@ define(function (require, exports, module) {
dir = split.dir,
file = split.file;
var ternPromise = getJumptoDef(dir, file, offset, document.getText());
var ternPromise = getJumptoDef(dir, file, offset, session.getJavascriptText());
return {promise: ternPromise};
}