mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Fix dojo loader in IE < 9. [ci skip]
This commit is contained in:
@@ -46,10 +46,10 @@
|
|||||||
shimmedModule,
|
shimmedModule,
|
||||||
underscoreModule;
|
underscoreModule;
|
||||||
|
|
||||||
if (window.curl) {
|
|
||||||
var require = curl;
|
|
||||||
}
|
|
||||||
(function() {
|
(function() {
|
||||||
|
if (window.curl) {
|
||||||
|
curl.config({ 'apiName': 'require' });
|
||||||
|
}
|
||||||
if (!window.require) {
|
if (!window.require) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,10 +80,10 @@
|
|||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
if (window.curl) {
|
|
||||||
var require = curl;
|
|
||||||
}
|
|
||||||
(function() {
|
(function() {
|
||||||
|
if (window.curl) {
|
||||||
|
curl.config({ 'apiName': 'require' });
|
||||||
|
}
|
||||||
if (!window.require) {
|
if (!window.require) {
|
||||||
init(_);
|
init(_);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user