small changes for code review

This commit is contained in:
dloverin committed 2013-04-26 16:57:15 -04:00
1 parent 8fed6323fd
commit 3a22861211
3 files changed
+8 -14

No files matched your search

@@ -149,13 +149,14 @@ define(function (require, exports, module) {
runs(function () { callback(hintList); });
}
/*
* Test if hints are close or not closed at a given position.
* Test if hints should be closed or not closed at a given position.
*
* @param {Object} provider - a CodeHintProvider object
* @param {Object + jQuery.Deferred} hintObj - a hint response object,
* possibly deferred
* @param {line, ch} - new position to move to after hints are received.
* @param {Boolean} expectedValue - true if hints should close,
* @param {line: number, ch: number} newPos - new position to move to
* after hints are received.
* @param {boolean} expectedValue - true if hints should close,
* false otherwise.
*/
function expectCloseHints(provider, hintObj, newPos, expectedValue) {