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