mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Fix issue where "<no parameters>" would be hinted when Tern could not parse the jsdoc.
Fix issue where Session.getFunctionInfo could return 'inFunctionCall' as true but 'functionCallPos' would be undefined. Fix many jsdoc problems.
This commit is contained in:
1 parent
4969b7785f
commit
c994eafc36
7 files changed
+39
-39
No files matched your search
@@ -57,7 +57,7 @@ define(function (require, exports, module) {
|
||||
/**
|
||||
* Get the value of current session.
|
||||
* Used for unit testing.
|
||||
* @returns {Session} - the current session.
|
||||
* @return {Session} - the current session.
|
||||
*/
|
||||
function getSession() {
|
||||
return session;
|
||||
@@ -283,7 +283,7 @@ define(function (require, exports, module) {
|
||||
/**
|
||||
* Create a new StringMatcher instance, if needed.
|
||||
*
|
||||
* @returns {StringMatcher} - a StringMatcher instance.
|
||||
* @return {StringMatcher} - a StringMatcher instance.
|
||||
*/
|
||||
function getStringMatcher() {
|
||||
if (!matcher) {
|
||||
@@ -299,7 +299,7 @@ define(function (require, exports, module) {
|
||||
* Check if a hint response is pending.
|
||||
*
|
||||
* @param {jQuery.Deferred} deferredHints - deferred hint response
|
||||
* @returns {boolean} - true if deferred hints are pending, false otherwise.
|
||||
* @return {boolean} - true if deferred hints are pending, false otherwise.
|
||||
*/
|
||||
function hintsArePending(deferredHints) {
|
||||
return (deferredHints && !deferredHints.hasOwnProperty("hints") &&
|
||||
|
||||
Reference in new issue
Block a user