11/**
2- * @license r.js 2.2.0+ Sun, 04 Sep 2016 06:25:31 GMT Copyright jQuery Foundation and other contributors.
2+ * @license r.js 2.3.0 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.2.0+ Sun, 04 Sep 2016 06:25:31 GMT ',
22+ version = '2.3.0 ',
2323 jsSuffixRegExp = /\.js$/,
2424 commandOption = '',
2525 useLibLoaded = {},
@@ -248,20 +248,20 @@ var requirejs, require, define, xpcUtil;
248248 }
249249
250250 /** vim: et:ts=4:sw=4:sts=4
251- * @license RequireJS 2.2 .0 Copyright jQuery Foundation and other contributors.
252- * Released under MIT license, http ://github.com/requirejs/requirejs/LICENSE
251+ * @license RequireJS 2.3 .0 Copyright jQuery Foundation and other contributors.
252+ * Released under MIT license, https ://github.com/requirejs/requirejs/blob/master /LICENSE
253253 */
254254//Not using strict: uneven strict support in browsers, #392, and causes
255255//problems with requirejs.exec()/transpiler plugins that may not be strict.
256256/*jslint regexp: true, nomen: true, sloppy: true */
257257/*global window, navigator, document, importScripts, setTimeout, opera */
258258
259259
260- (function (global) {
260+ (function (global, setTimeout ) {
261261 var req, s, head, baseElement, dataMain, src,
262262 interactiveScript, currentlyAddingScript, mainScript, subPath,
263- version = '2.2 .0',
264- commentRegExp = /( \/\*( [\s\S]*?) \*\/|([^:]|^)\/\/(.*)$) /mg,
263+ version = '2.3 .0',
264+ commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'= ]|^)\/\/.*$ /mg,
265265 cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
266266 jsSuffixRegExp = /\.js$/,
267267 currDirRegExp = /^\.\//,
@@ -285,7 +285,7 @@ var requirejs, require, define, xpcUtil;
285285 useInteractive = false;
286286
287287 //Could match something like ')//comment', do not lose the prefix to comment.
288- function commentReplace(match, multi, multiText, singlePrefix) {
288+ function commentReplace(match, singlePrefix) {
289289 return singlePrefix || '';
290290 }
291291
@@ -2388,7 +2388,7 @@ var requirejs, require, define, xpcUtil;
23882388
23892389 //Set up with config info.
23902390 req(cfg);
2391- }(this));
2391+ }(this, setTimeout ));
23922392
23932393
23942394
0 commit comments