Skip to content

Commit 771369f

Browse files
committed
snapshot
1 parent 97a82a4 commit 771369f

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

dist/r.js

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license r.js 2.1.4+ Mon, 04 Mar 2013 01:14:52 GMT Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
2+
* @license r.js 2.1.4+ Mon, 04 Mar 2013 02:45:14 GMT Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
33
* Available via the MIT or new BSD license.
44
* see: http://github.com/jrburke/requirejs for details
55
*/
@@ -20,7 +20,7 @@ var requirejs, require, define, xpcUtil;
2020
(function (console, args, readFileFunc) {
2121
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
2222
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode, Cc, Ci,
23-
version = '2.1.4+ Mon, 04 Mar 2013 01:14:52 GMT',
23+
version = '2.1.4+ Mon, 04 Mar 2013 02:45:14 GMT',
2424
jsSuffixRegExp = /\.js$/,
2525
commandOption = '',
2626
useLibLoaded = {},
@@ -22922,10 +22922,6 @@ define('build', function (require) {
2292222922
config = build.createConfig(cmdConfig);
2292322923
paths = config.paths;
2292422924

22925-
if (config.logLevel) {
22926-
logger.logLevel(config.logLevel);
22927-
}
22928-
2292922925
//Remove the previous build dir, in case it contains source transforms,
2293022926
//like the ones done with onBuildRead and onBuildWrite.
2293122927
if (config.dir && !config.keepBuildDir && file.exists(config.dir)) {
@@ -23527,6 +23523,12 @@ define('build', function (require) {
2352723523
}
2352823524
}
2352923525
}
23526+
23527+
//Set up log level since it can affect if errors are thrown
23528+
//or caught and passed to errbacks while doing config setup.
23529+
if (lang.hasProp(target, 'logLevel')) {
23530+
logger.logLevel(target.logLevel);
23531+
}
2353023532
}
2353123533

2353223534
/**
@@ -23577,6 +23579,12 @@ define('build', function (require) {
2357723579
lang.mixin(config, buildBaseConfig);
2357823580
lang.mixin(config, cfg, true);
2357923581

23582+
//Set up log level early since it can affect if errors are thrown
23583+
//or caught and passed to errbacks, even while constructing config.
23584+
if (lang.hasProp(config, 'logLevel')) {
23585+
logger.logLevel(config.logLevel);
23586+
}
23587+
2358023588
if (config.buildFile) {
2358123589
//A build file exists, load it to get more config.
2358223590
buildFile = file.absPath(config.buildFile);

0 commit comments

Comments
 (0)