11/**
2- * @license r.js 2.3.2+ Sun, 19 Feb 2017 04:01:40 GMT Copyright jQuery Foundation and other contributors.
2+ * @license r.js 2.3.3 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.2+ Sun, 19 Feb 2017 04:01:40 GMT ',
22+ version = '2.3.3 ',
2323 jsSuffixRegExp = /\.js$/,
2424 commandOption = '',
2525 useLibLoaded = {},
@@ -248,7 +248,7 @@ var requirejs, require, define, xpcUtil;
248248 }
249249
250250 /** vim: et:ts=4:sw=4:sts=4
251- * @license RequireJS 2.3.2 Copyright jQuery Foundation and other contributors.
251+ * @license RequireJS 2.3.3 Copyright jQuery Foundation and other contributors.
252252 * 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
@@ -260,7 +260,7 @@ var requirejs, require, define, xpcUtil;
260260(function (global, setTimeout) {
261261 var req, s, head, baseElement, dataMain, src,
262262 interactiveScript, currentlyAddingScript, mainScript, subPath,
263- version = '2.3.2 ',
263+ version = '2.3.3 ',
264264 commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg,
265265 cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
266266 jsSuffixRegExp = /\.js$/,
@@ -689,7 +689,9 @@ var requirejs, require, define, xpcUtil;
689689 //Account for relative paths if there is a base name.
690690 if (name) {
691691 if (prefix) {
692- if (pluginModule && pluginModule.normalize) {
692+ if (isNormalized) {
693+ normalizedName = name;
694+ } else if (pluginModule && pluginModule.normalize) {
693695 //Plugin is loaded, use its normalize method.
694696 normalizedName = pluginModule.normalize(name, function (name) {
695697 return normalize(name, parentName, applyMap);
@@ -1221,7 +1223,8 @@ var requirejs, require, define, xpcUtil;
12211223 //prefix and name should already be normalized, no need
12221224 //for applying map config again either.
12231225 normalizedMap = makeModuleMap(map.prefix + '!' + name,
1224- this.map.parentMap);
1226+ this.map.parentMap,
1227+ true);
12251228 on(normalizedMap,
12261229 'defined', bind(this, function (value) {
12271230 this.map.normalizedMap = normalizedMap;
0 commit comments