Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit fb6a061

Browse files
committed
0.11.2
1 parent 26092c2 commit fb6a061

7 files changed

+15
-15
lines changed

dist/es6-module-loader-sans-promises.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader-sans-promises.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader-sans-promises.src.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ function logloads(loads) {
604604
// 1. groups is an already-interleaved array of group kinds
605605
// 2. load.groupIndex is set when this function runs
606606
// 3. load.groupIndex is the interleaved index ie 0 declarative, 1 dynamic, 2 declarative, ... (or starting with dynamic)
607-
function buildLinkageGroups(load, loads, groups, loader) {
607+
function buildLinkageGroups(load, loads, groups) {
608608
groups[load.groupIndex] = groups[load.groupIndex] || [];
609609

610610
// if the load already has a group index and its in its group, its already been done
@@ -632,7 +632,7 @@ function logloads(loads) {
632632
if (loadDep.groupIndex === undefined || loadDep.groupIndex < loadDepGroupIndex) {
633633

634634
// if already in a group, remove from the old group
635-
if (loadDep.groupIndex) {
635+
if (loadDep.groupIndex !== undefined) {
636636
groups[loadDep.groupIndex].splice(indexOf.call(groups[loadDep.groupIndex], loadDep), 1);
637637

638638
// if the old group is empty, then we have a mixed depndency cycle
@@ -643,7 +643,7 @@ function logloads(loads) {
643643
loadDep.groupIndex = loadDepGroupIndex;
644644
}
645645

646-
buildLinkageGroups(loadDep, loads, groups, loader);
646+
buildLinkageGroups(loadDep, loads, groups);
647647
}
648648
}
649649
}
@@ -682,7 +682,7 @@ function logloads(loads) {
682682
var groups = [];
683683
var startingLoad = linkSet.loads[0];
684684
startingLoad.groupIndex = 0;
685-
buildLinkageGroups(startingLoad, linkSet.loads, groups, loader);
685+
buildLinkageGroups(startingLoad, linkSet.loads, groups);
686686

687687
// determine the kind of the bottom group
688688
var curGroupDeclarative = startingLoad.isDeclarative == groups.length % 2;

dist/es6-module-loader.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader.src.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ function logloads(loads) {
18291829
// 1. groups is an already-interleaved array of group kinds
18301830
// 2. load.groupIndex is set when this function runs
18311831
// 3. load.groupIndex is the interleaved index ie 0 declarative, 1 dynamic, 2 declarative, ... (or starting with dynamic)
1832-
function buildLinkageGroups(load, loads, groups, loader) {
1832+
function buildLinkageGroups(load, loads, groups) {
18331833
groups[load.groupIndex] = groups[load.groupIndex] || [];
18341834

18351835
// if the load already has a group index and its in its group, its already been done
@@ -1857,7 +1857,7 @@ function logloads(loads) {
18571857
if (loadDep.groupIndex === undefined || loadDep.groupIndex < loadDepGroupIndex) {
18581858

18591859
// if already in a group, remove from the old group
1860-
if (loadDep.groupIndex) {
1860+
if (loadDep.groupIndex !== undefined) {
18611861
groups[loadDep.groupIndex].splice(indexOf.call(groups[loadDep.groupIndex], loadDep), 1);
18621862

18631863
// if the old group is empty, then we have a mixed depndency cycle
@@ -1868,7 +1868,7 @@ function logloads(loads) {
18681868
loadDep.groupIndex = loadDepGroupIndex;
18691869
}
18701870

1871-
buildLinkageGroups(loadDep, loads, groups, loader);
1871+
buildLinkageGroups(loadDep, loads, groups);
18721872
}
18731873
}
18741874
}
@@ -1907,7 +1907,7 @@ function logloads(loads) {
19071907
var groups = [];
19081908
var startingLoad = linkSet.loads[0];
19091909
startingLoad.groupIndex = 0;
1910-
buildLinkageGroups(startingLoad, linkSet.loads, groups, loader);
1910+
buildLinkageGroups(startingLoad, linkSet.loads, groups);
19111911

19121912
// determine the kind of the bottom group
19131913
var curGroupDeclarative = startingLoad.isDeclarative == groups.length % 2;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "es6-module-loader",
33
"description": "An ES6 Module Loader shim",
4-
"version": "0.11.1",
4+
"version": "0.11.2",
55
"homepage": "https://github.com/ModuleLoader/es6-module-loader",
66
"author": {
77
"name": "Guy Bedford, Luke Hoban, Addy Osmani",

0 commit comments

Comments
 (0)