mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Adopt latest loader
This commit is contained in:
@@ -1092,7 +1092,9 @@ var AMDLoader;
|
||||
}
|
||||
else {
|
||||
if (this._queuedDefineCalls.length === 0) {
|
||||
console.warn('No define call received from module ' + id + '. This might be a problem.');
|
||||
// Loaded a file and it didn't call `define`
|
||||
this._loadingScriptsCount++;
|
||||
this._onLoadError(id, new Error('No define call received from module ' + id + '.'));
|
||||
}
|
||||
else {
|
||||
// Consume queue until first anonymous define call
|
||||
|
||||
Reference in New Issue
Block a user