mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Cleaner fix for race condition bugs in JS code hints unit tests.
This commit is contained in:
1 parent
af57cff028
commit
087a4519a5
2 files changed
+8
-7
No files matched your search
@@ -1444,6 +1444,12 @@ define(function (require, exports, module) {
|
||||
function handleProjectOpen(projectRootPath) {
|
||||
initPreferences(projectRootPath);
|
||||
}
|
||||
|
||||
|
||||
/** Used to avoid timing bugs in unit tests */
|
||||
function _readyPromise() {
|
||||
return deferredPreferences;
|
||||
}
|
||||
|
||||
exports.getBuiltins = getBuiltins;
|
||||
exports.getResolvedPath = getResolvedPath;
|
||||
@@ -1456,5 +1462,6 @@ define(function (require, exports, module) {
|
||||
exports.requestParameterHint = requestParameterHint;
|
||||
exports.handleProjectClose = handleProjectClose;
|
||||
exports.handleProjectOpen = handleProjectOpen;
|
||||
exports._readyPromise = _readyPromise;
|
||||
|
||||
});
|
||||
Reference in new issue
Block a user