1
1
/**
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.
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+ Sun, 19 Feb 2017 04:01:40 GMT ',
22
+ version = '2.3.3 ',
23
23
jsSuffixRegExp = /\.js$/,
24
24
commandOption = '',
25
25
useLibLoaded = {},
@@ -248,7 +248,7 @@ var requirejs, require, define, xpcUtil;
248
248
}
249
249
250
250
/** 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.
252
252
* Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
253
253
*/
254
254
//Not using strict: uneven strict support in browsers, #392, and causes
@@ -260,7 +260,7 @@ var requirejs, require, define, xpcUtil;
260
260
(function (global, setTimeout) {
261
261
var req, s, head, baseElement, dataMain, src,
262
262
interactiveScript, currentlyAddingScript, mainScript, subPath,
263
- version = '2.3.2 ',
263
+ version = '2.3.3 ',
264
264
commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg,
265
265
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
266
266
jsSuffixRegExp = /\.js$/,
@@ -689,7 +689,9 @@ var requirejs, require, define, xpcUtil;
689
689
//Account for relative paths if there is a base name.
690
690
if (name) {
691
691
if (prefix) {
692
- if (pluginModule && pluginModule.normalize) {
692
+ if (isNormalized) {
693
+ normalizedName = name;
694
+ } else if (pluginModule && pluginModule.normalize) {
693
695
//Plugin is loaded, use its normalize method.
694
696
normalizedName = pluginModule.normalize(name, function (name) {
695
697
return normalize(name, parentName, applyMap);
@@ -1221,7 +1223,8 @@ var requirejs, require, define, xpcUtil;
1221
1223
//prefix and name should already be normalized, no need
1222
1224
//for applying map config again either.
1223
1225
normalizedMap = makeModuleMap(map.prefix + '!' + name,
1224
- this.map.parentMap);
1226
+ this.map.parentMap,
1227
+ true);
1225
1228
on(normalizedMap,
1226
1229
'defined', bind(this, function (value) {
1227
1230
this.map.normalizedMap = normalizedMap;
0 commit comments