previous AMD ordering was not correct

This commit is contained in:
togru committed 2015-02-09 09:00:42 +01:00
1 parent 36990570c4
commit a27a893eeb
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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);
}
}
}