mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
previous AMD ordering was not correct
This commit is contained in:
@@ -4721,9 +4721,9 @@ module ts {
|
||||
var amdDependency = {path: pathMatchResult[2], name: nameMatchResult ? nameMatchResult[2] : undefined };
|
||||
// AMD dependencies with names have to go first in define header
|
||||
if (nameMatchResult) {
|
||||
amdDependencies.push(amdDependency);
|
||||
} else {
|
||||
amdDependencies.unshift(amdDependency);
|
||||
} else {
|
||||
amdDependencies.push(amdDependency);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user