1
1
/**
2
- * @license r.js 2.3.2+ Mon, 26 Sep 2016 05:58:05 GMT Copyright jQuery Foundation and other contributors.
2
+ * @license r.js 2.3.2+ Sat, 01 Oct 2016 23:40:33 GMT Copyright jQuery Foundation and other contributors.
3
3
* Released under MIT license, http://github.com/requirejs/r.js/LICENSE
4
4
*/
5
5
@@ -19,7 +19,7 @@ var requirejs, require, define, xpcUtil;
19
19
(function (console, args, readFileFunc) {
20
20
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
21
21
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode, Cc, Ci,
22
- version = '2.3.2+ Mon, 26 Sep 2016 05:58:05 GMT',
22
+ version = '2.3.2+ Sat, 01 Oct 2016 23:40:33 GMT',
23
23
jsSuffixRegExp = /\.js$/,
24
24
commandOption = '',
25
25
useLibLoaded = {},
@@ -23789,17 +23789,6 @@ function (esprima, parse, logger, lang) {
23789
23789
//start.line is 1-based, not 0 based.
23790
23790
lineIndex = loc.start.line - 1,
23791
23791
line = contentLines[lineIndex];
23792
-
23793
- if (!line) {
23794
- //In rare cases, file contains just \r instead of \r\n, so
23795
- //adjust the contentLines and try again.
23796
- //https://github.com/requirejs/r.js/issues/924
23797
- if (contents.indexOf('\r') !== -1) {
23798
- contentLines = contents.split('\r');
23799
- }
23800
- line = contentLines[lineIndex];
23801
- }
23802
-
23803
23792
contentLines[lineIndex] = line.substring(0, startIndex) +
23804
23793
contentInsertion +
23805
23794
line.substring(startIndex,
0 commit comments