1
1
#!/usr/bin/env node
2
2
/**
3
- * @license r.js 2.3.0 Copyright jQuery Foundation and other contributors.
3
+ * @license r.js 2.3.1 Copyright jQuery Foundation and other contributors.
4
4
* Released under MIT license, http://github.com/requirejs/r.js/LICENSE
5
5
*/
6
6
@@ -20,7 +20,7 @@ var requirejs, require, define, xpcUtil;
20
20
(function (console, args, readFileFunc) {
21
21
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
22
22
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode, Cc, Ci,
23
- version = '2.3.0 ',
23
+ version = '2.3.1 ',
24
24
jsSuffixRegExp = /\.js$/,
25
25
commandOption = '',
26
26
useLibLoaded = {},
@@ -249,7 +249,7 @@ var requirejs, require, define, xpcUtil;
249
249
}
250
250
251
251
/** vim: et:ts=4:sw=4:sts=4
252
- * @license RequireJS 2.3.0 Copyright jQuery Foundation and other contributors.
252
+ * @license RequireJS 2.3.1 Copyright jQuery Foundation and other contributors.
253
253
* Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
254
254
*/
255
255
//Not using strict: uneven strict support in browsers, #392, and causes
@@ -261,7 +261,7 @@ var requirejs, require, define, xpcUtil;
261
261
(function (global, setTimeout) {
262
262
var req, s, head, baseElement, dataMain, src,
263
263
interactiveScript, currentlyAddingScript, mainScript, subPath,
264
- version = '2.3.0 ',
264
+ version = '2.3.1 ',
265
265
commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg,
266
266
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
267
267
jsSuffixRegExp = /\.js$/,
@@ -22355,7 +22355,7 @@ exports.minify = function(files, options, name) {
22355
22355
if (options.spidermonkey) {
22356
22356
toplevel = AST_Node.from_mozilla_ast(files);
22357
22357
} else {
22358
- function addFile(file, fileUrl) {
22358
+ var addFile = function (file, fileUrl) {
22359
22359
var code = options.fromString
22360
22360
? file
22361
22361
: rjsFile.readFile(file, "utf8");
0 commit comments