Skip to content

Commit

Permalink
Seed build after master -> 3.x merge
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Oct 2, 2012
2 parents 2c06cdf + 17cdba6 commit c45576b
Show file tree
Hide file tree
Showing 20 changed files with 1,867 additions and 1,967 deletions.
1,948 changes: 969 additions & 979 deletions build/loader-base/loader-base-coverage.js

Large diffs are not rendered by default.

206 changes: 98 additions & 108 deletions build/loader-base/loader-base-debug.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/loader-base/loader-base-min.js

Large diffs are not rendered by default.

206 changes: 98 additions & 108 deletions build/loader-base/loader-base.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/loader-rollup/loader-rollup-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _yuitest_coverage["build/loader-rollup/loader-rollup.js"] = {
path: "build/loader-rollup/loader-rollup.js",
code: []
};
_yuitest_coverage["build/loader-rollup/loader-rollup.js"].code=["YUI.add('loader-rollup', function (Y, NAME) {","","/**"," * Optional automatic rollup logic for reducing http connections"," * when not using a combo service."," * @module loader"," * @submodule rollup"," */","","/**"," * Look for rollup packages to determine if all of the modules a"," * rollup supersedes are required. If so, include the rollup to"," * help reduce the total number of connections required. Called"," * by calculate(). This is an optional feature, and requires the"," * appropriate submodule to function."," * @method _rollup"," * @for Loader"," * @private"," */","Y.Loader.prototype._rollup = function() {"," var i, j, m, s, r = this.required, roll,"," info = this.moduleInfo, rolled, c, smod;",""," // find and cache rollup modules"," if (this.dirty || !this.rollups) {"," this.rollups = {};"," for (i in info) {"," if (info.hasOwnProperty(i)) {"," m = this.getModule(i);"," // if (m && m.rollup && m.supersedes) {"," if (m && m.rollup) {"," this.rollups[i] = m;"," }"," }"," }"," }",""," // make as many passes as needed to pick up rollup rollups"," for (;;) {"," rolled = false;",""," // go through the rollup candidates"," for (i in this.rollups) {"," if (this.rollups.hasOwnProperty(i)) {"," // there can be only one, unless forced"," if (!r[i] && ((!this.loaded[i]) || this.forceMap[i])) {"," m = this.getModule(i);"," s = m.supersedes || [];"," roll = false;",""," // @TODO remove continue"," if (!m.rollup) {"," continue;"," }",""," c = 0;",""," // check the threshold"," for (j = 0; j < s.length; j++) {"," smod = info[s[j]];",""," // if the superseded module is loaded, we can't"," // load the rollup unless it has been forced."," if (this.loaded[s[j]] && !this.forceMap[s[j]]) {"," roll = false;"," break;"," // increment the counter if this module is required."," // if we are beyond the rollup threshold, we will"," // use the rollup module"," } else if (r[s[j]] && m.type == smod.type) {"," c++;"," roll = (c >= m.rollup);"," if (roll) {"," break;"," }"," }"," }",""," if (roll) {"," // add the rollup"," r[i] = true;"," rolled = true;",""," // expand the rollup's dependencies"," this.getRequires(m);"," }"," }"," }"," }",""," // if we made it here w/o rolling up something, we are done"," if (!rolled) {"," break;"," }"," }","};","","","}, '@VERSION@', {\"requires\": [\"loader-base\"]});"];
_yuitest_coverage["build/loader-rollup/loader-rollup.js"].code=["YUI.add('loader-rollup', function (Y, NAME) {","","/**"," * Optional automatic rollup logic for reducing http connections"," * when not using a combo service."," * @module loader"," * @submodule rollup"," */","","/**"," * Look for rollup packages to determine if all of the modules a"," * rollup supersedes are required. If so, include the rollup to"," * help reduce the total number of connections required. Called"," * by calculate(). This is an optional feature, and requires the"," * appropriate submodule to function."," * @method _rollup"," * @for Loader"," * @private"," */","Y.Loader.prototype._rollup = function() {"," var i, j, m, s, r = this.required, roll,"," info = this.moduleInfo, rolled, c, smod;",""," // find and cache rollup modules"," if (this.dirty || !this.rollups) {"," this.rollups = {};"," for (i in info) {"," if (info.hasOwnProperty(i)) {"," m = this.getModule(i);"," // if (m && m.rollup && m.supersedes) {"," if (m && m.rollup) {"," this.rollups[i] = m;"," }"," }"," }"," }",""," // make as many passes as needed to pick up rollup rollups"," for (;;) {"," rolled = false;",""," // go through the rollup candidates"," for (i in this.rollups) {"," if (this.rollups.hasOwnProperty(i)) {"," // there can be only one, unless forced"," if (!r[i] && ((!this.loaded[i]) || this.forceMap[i])) {"," m = this.getModule(i);"," s = m.supersedes || [];"," roll = false;",""," // @TODO remove continue"," if (!m.rollup) {"," continue;"," }",""," c = 0;",""," // check the threshold"," for (j = 0; j < s.length; j++) {"," smod = info[s[j]];",""," // if the superseded module is loaded, we can't"," // load the rollup unless it has been forced."," if (this.loaded[s[j]] && !this.forceMap[s[j]]) {"," roll = false;"," break;"," // increment the counter if this module is required."," // if we are beyond the rollup threshold, we will"," // use the rollup module"," } else if (r[s[j]] && m.type === smod.type) {"," c++;"," roll = (c >= m.rollup);"," if (roll) {"," break;"," }"," }"," }",""," if (roll) {"," // add the rollup"," r[i] = true;"," rolled = true;",""," // expand the rollup's dependencies"," this.getRequires(m);"," }"," }"," }"," }",""," // if we made it here w/o rolling up something, we are done"," if (!rolled) {"," break;"," }"," }","};","","","}, '@VERSION@', {\"requires\": [\"loader-base\"]});"];
_yuitest_coverage["build/loader-rollup/loader-rollup.js"].lines = {"1":0,"20":0,"21":0,"25":0,"26":0,"27":0,"28":0,"29":0,"31":0,"32":0,"39":0,"40":0,"43":0,"44":0,"46":0,"47":0,"48":0,"49":0,"52":0,"53":0,"56":0,"59":0,"60":0,"64":0,"65":0,"66":0,"70":0,"71":0,"72":0,"73":0,"74":0,"79":0,"81":0,"82":0,"85":0,"92":0,"93":0};
_yuitest_coverage["build/loader-rollup/loader-rollup.js"].functions = {"_rollup:20":0,"(anonymous 1):1":0};
_yuitest_coverage["build/loader-rollup/loader-rollup.js"].coveredLines = 37;
Expand Down Expand Up @@ -129,7 +129,7 @@ break;
// if we are beyond the rollup threshold, we will
// use the rollup module
} else {_yuitest_coverline("build/loader-rollup/loader-rollup.js", 70);
if (r[s[j]] && m.type == smod.type) {
if (r[s[j]] && m.type === smod.type) {
_yuitest_coverline("build/loader-rollup/loader-rollup.js", 71);
c++;
_yuitest_coverline("build/loader-rollup/loader-rollup.js", 72);
Expand Down
2 changes: 1 addition & 1 deletion build/loader-rollup/loader-rollup-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Y.Loader.prototype._rollup = function() {
// increment the counter if this module is required.
// if we are beyond the rollup threshold, we will
// use the rollup module
} else if (r[s[j]] && m.type == smod.type) {
} else if (r[s[j]] && m.type === smod.type) {
c++;
// Y.log("adding to thresh: " + c + ", " + s[j]);
roll = (c >= m.rollup);
Expand Down
2 changes: 1 addition & 1 deletion build/loader-rollup/loader-rollup-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/loader-rollup/loader-rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Y.Loader.prototype._rollup = function() {
// increment the counter if this module is required.
// if we are beyond the rollup threshold, we will
// use the rollup module
} else if (r[s[j]] && m.type == smod.type) {
} else if (r[s[j]] && m.type === smod.type) {
c++;
roll = (c >= m.rollup);
if (roll) {
Expand Down
Loading

0 comments on commit c45576b

Please sign in to comment.