Skip to content

Instantly share code, notes, and snippets.

@kfranqueiro
Created June 18, 2015 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kfranqueiro/7e3c9594918dbc3bea32 to your computer and use it in GitHub Desktop.
Save kfranqueiro/7e3c9594918dbc3bea32 to your computer and use it in GitHub Desktop.
Test case for Dojo loader inconsistency issue in IE < 11
<!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>
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