mirror of
https://github.com/systemjs/systemjs.git
synced 2026-02-01 15:59:54 +00:00
versions adjustment
This commit is contained in:
parent
37e37c302f
commit
123f2a060b
2
dist/system-production-amd.js
vendored
2
dist/system-production-amd.js
vendored
@ -905,7 +905,7 @@ function versions(loader) {
|
||||
// see if this module corresponds to a package already in our versioned packages list
|
||||
|
||||
// no version specified - check against the list (given we don't know the package name)
|
||||
if (index == -1) {
|
||||
if (index == -1 || index == 0) {
|
||||
for (var p in packageVersions) {
|
||||
versions = packageVersions[p];
|
||||
if (normalized.substr(0, p.length) != p)
|
||||
|
||||
2
dist/system-production-amd.min.js
vendored
2
dist/system-production-amd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/system.js
vendored
2
dist/system.js
vendored
@ -1462,7 +1462,7 @@ function versions(loader) {
|
||||
// see if this module corresponds to a package already in our versioned packages list
|
||||
|
||||
// no version specified - check against the list (given we don't know the package name)
|
||||
if (index == -1) {
|
||||
if (index == -1 || index == 0) {
|
||||
for (var p in packageVersions) {
|
||||
versions = packageVersions[p];
|
||||
if (normalized.substr(0, p.length) != p)
|
||||
|
||||
2
dist/system.min.js
vendored
2
dist/system.min.js
vendored
File diff suppressed because one or more lines are too long
@ -98,7 +98,7 @@ function versions(loader) {
|
||||
// see if this module corresponds to a package already in our versioned packages list
|
||||
|
||||
// no version specified - check against the list (given we don't know the package name)
|
||||
if (index == -1) {
|
||||
if (index == -1 || index == 0) {
|
||||
for (var p in packageVersions) {
|
||||
versions = packageVersions[p];
|
||||
if (normalized.substr(0, p.length) != p)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user