Skip to content

Commit c56076d

Browse files
committed
snapshot
1 parent 8d896b9 commit c56076d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

dist/r.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license r.js 2.1.1+ Tue, 20 Nov 2012 04:37:03 GMT Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
2+
* @license r.js 2.1.1+ Tue, 20 Nov 2012 20:29:53 GMT Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
33
* Available via the MIT or new BSD license.
44
* see: http://github.com/jrburke/requirejs for details
55
*/
@@ -21,7 +21,7 @@ var requirejs, require, define;
2121

2222
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
2323
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode,
24-
version = '2.1.1+ Tue, 20 Nov 2012 04:37:03 GMT',
24+
version = '2.1.1+ Tue, 20 Nov 2012 20:29:53 GMT',
2525
jsSuffixRegExp = /\.js$/,
2626
commandOption = '',
2727
useLibLoaded = {},
@@ -1367,7 +1367,7 @@ var requirejs, require, define;
13671367
deps: value
13681368
};
13691369
}
1370-
if (value.exports && !value.exportsFn) {
1370+
if ((value.exports || value.init) && !value.exportsFn) {
13711371
value.exportsFn = context.makeShimExports(value);
13721372
}
13731373
shim[id] = value;
@@ -1429,7 +1429,7 @@ var requirejs, require, define;
14291429
if (value.init) {
14301430
ret = value.init.apply(global, arguments);
14311431
}
1432-
return ret || getGlobal(value.exports);
1432+
return ret || (value.exports && getGlobal(value.exports));
14331433
}
14341434
return fn;
14351435
},
@@ -21237,7 +21237,9 @@ define('requirePatch', [ 'env!env/file', 'pragma', 'parse', 'lang', 'logger', 'c
2123721237
(value.init ?
2123821238
(' fn = ' + value.init.toString() + ';\n' +
2123921239
' ret = fn.apply(global, arguments);\n') : '') +
21240-
' return ret || global.' + value.exports + ';\n' +
21240+
(value.exports ?
21241+
' return ret || global.' + value.exports + ';\n' :
21242+
' return ret;\n') +
2124121243
' };\n' +
2124221244
'}(this))';
2124321245
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy