mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
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:
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};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user