Cleanup test/backbone.html and test/underscore.html.

This commit is contained in:
jdalton
2015-05-13 23:25:31 -07:00
parent 12081c9bd6
commit 4dfcfd2542
2 changed files with 8 additions and 12 deletions

View File

@@ -7,7 +7,7 @@
</head>
<body>
<script>
// avoid reporting tests to Sauce Labs when script errors occur
// Avoid reporting tests to Sauce Labs when script errors occur.
if (location.port == '9001') {
window.onerror = function(message) {
if (window.QUnit) {
@@ -38,11 +38,7 @@
QUnit.config.asyncRetries = 10;
QUnit.config.hidepassed = true;
// load lodash
if (!ui.isModularize) {
document.write('<script src="' + ui.buildPath + '"><\/script>');
}
// load test scripts
// Load test scripts.
document.write(ui.urlParams.loader != 'none'
? '<script data-dojo-config="async:1" src="' + ui.loaderPath + '"><\/script>'
: ([
@@ -90,7 +86,7 @@
'name': 'test',
'location': '../vendor/backbone/test',
'config': {
// work around no global being exported
// Work around no global being exported.
'exports': 'QUnit',
'loader': 'curl/loader/legacy'
}