Skip to content

Commit 468b437

Browse files
committed
snapshot
1 parent 87130cd commit 468b437

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dist/r.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license r.js 2.0.2+ Sun, 08 Jul 2012 06:25:26 GMT Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
2+
* @license r.js 2.0.2+ Sun, 08 Jul 2012 06:36:02 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;
2020

2121
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
2222
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode,
23-
version = '2.0.2+ Sun, 08 Jul 2012 06:25:26 GMT',
23+
version = '2.0.2+ Sun, 08 Jul 2012 06:36:02 GMT',
2424
jsSuffixRegExp = /\.js$/,
2525
commandOption = '',
2626
useLibLoaded = {},
@@ -14931,6 +14931,10 @@ function (lang, logger, file, parse, optimize, pragma,
1493114931
}
1493214932

1493314933
//Check for errors in config
14934+
if (config.main) {
14935+
throw new Error('"main" passed as an option to build, but the ' +
14936+
'supported option is called "name".');
14937+
}
1493414938
if (config.cssIn && !config.out) {
1493514939
throw new Error("ERROR: 'out' option missing.");
1493614940
}

0 commit comments

Comments
 (0)