Created
June 18, 2015 22:26
-
-
Save kfranqueiro/7e3c9594918dbc3bea32 to your computer and use it in GitHub Desktop.
Test case for Dojo loader inconsistency issue in IE < 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<script> | |
var dojoConfig = { | |
async: true, | |
baseUrl: "", | |
tlmSiblingOfDojo: false | |
}; | |
</script> | |
<script src="//ajax.googleapis.com/ajax/libs/dojo/1.10.4/dojo/dojo.js"></script> | |
<script> | |
require(['testModule'], function() { | |
console.log('all loaded'); | |
}); | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([], function () { | |
console.log('in factory'); | |
}); | |
console.log('after factory'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment