Fix dojo loader in IE < 9. [ci skip]

This commit is contained in:
John-David Dalton
2013-09-11 22:16:22 -07:00
parent 60275d3637
commit 24b03d42d6
2 changed files with 6 additions and 6 deletions

View File

@@ -46,10 +46,10 @@
shimmedModule,
underscoreModule;
if (window.curl) {
var require = curl;
}
(function() {
if (window.curl) {
curl.config({ 'apiName': 'require' });
}
if (!window.require) {
return;
}

View File

@@ -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;