Skip to content

Commit c1a1415

Browse files
committed
snapshot
1 parent 8cba8b2 commit c1a1415

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

build/jslib/x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license r.js 2.3.4 Copyright jQuery Foundation and other contributors.
2+
* @license r.js 2.3.4+ Copyright jQuery Foundation and other contributors.
33
* Released under MIT license, http://github.com/requirejs/r.js/LICENSE
44
*/
55

@@ -19,7 +19,7 @@ var requirejs, require, define, xpcUtil;
1919
(function (console, args, readFileFunc) {
2020
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
2121
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode, Cc, Ci,
22-
version = '2.3.4',
22+
version = '2.3.4+',
2323
jsSuffixRegExp = /\.js$/,
2424
commandOption = '',
2525
useLibLoaded = {},

copydist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ exec('node dist.js',
2727
}
2828
);
2929

30-
fs.writeFile(distFileName, contents, 'utf8');
30+
fs.writeFileSync(distFileName, contents, 'utf8');
3131
}
3232
}
3333
);

dist/r.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license r.js 2.3.4 Fri, 21 Jul 2017 05:43:59 GMT Copyright jQuery Foundation and other contributors.
2+
* @license r.js 2.3.4+ Sun, 30 Jul 2017 21:55:10 GMT Copyright jQuery Foundation and other contributors.
33
* Released under MIT license, http://github.com/requirejs/r.js/LICENSE
44
*/
55

@@ -19,7 +19,7 @@ var requirejs, require, define, xpcUtil;
1919
(function (console, args, readFileFunc) {
2020
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
2121
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode, Cc, Ci,
22-
version = '2.3.4 Fri, 21 Jul 2017 05:43:59 GMT',
22+
version = '2.3.4+ Sun, 30 Jul 2017 21:55:10 GMT',
2323
jsSuffixRegExp = /\.js$/,
2424
commandOption = '',
2525
useLibLoaded = {},
@@ -25991,7 +25991,6 @@ function (lang, logger, envOptimize, file, parse,
2599125991
var result, existingMap, resultMap, finalMap, sourceIndex,
2599225992
uconfig = {},
2599325993
existingMapPath = outFileName + '.map',
25994-
preamble = config.preamble || "",
2599525994
baseName = fileName && fileName.split('/').pop();
2599625995

2599725996
config = config || {};
@@ -26041,7 +26040,7 @@ function (lang, logger, envOptimize, file, parse,
2604126040
} catch (e) {
2604226041
throw new Error('Cannot uglify file: ' + fileName + '. Skipping it. Error is:\n' + e.toString());
2604326042
}
26044-
return preamble + fileContents;
26043+
return fileContents;
2604526044
}
2604626045
}
2604726046
};

0 commit comments

Comments
 (0)